Skip to main content

Class: OauthAuthorizeController

api-oauth/oauth-authorize.controller.OauthAuthorizeController

Controller for the openapi generator to find the oauth server routes that are handeled exclusively in middleware.

This includes:

  • Authorize endpoint
  • Redirect/Callback endpoint

Constructors

constructor

new OauthAuthorizeController()

Methods

authorizeEndpoint

authorizeEndpoint(): void

Authorize endpoint for strategy instance of the given id. Functionality performed is determined by mode parameter.

For defined behaviour of the authorize endpoint see https://www.rfc-editor.org/rfc/rfc6749

Returns

void

Defined in

gropius-login-service/backend/src/api-oauth/oauth-authorize.controller.ts:55