Class: AuthEndpointsController
api-internal/auth-endpoints.controller.AuthEndpointsController
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 AuthEndpointsController()
Methods
loginStrategyCallback
▸ loginStrategyCallback(): void
Redirect/Callback endpoint for strategy with the given id.
Not meant to be called by a client. Meant as callback for oauth flows started by the login-service
Returns
void
Defined in
gropius-login-service/backend/src/api-internal/auth-endpoints.controller.ts:52
loginStrategyRedirect
▸ loginStrategyRedirect(id
, mode?
): 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
Parameters
Name | Type |
---|---|
id | string |
mode? | AuthFunctionInput |
Returns
void
Defined in
gropius-login-service/backend/src/api-internal/auth-endpoints.controller.ts:33
loginStrategySubmit
▸ loginStrategySubmit(): void
Returns
void
Defined in
gropius-login-service/backend/src/api-internal/auth-endpoints.controller.ts:68
register
▸ register(input
): void
Parameters
Name | Type |
---|---|
input | SelfRegisterUserInput |
Returns
void
Defined in
gropius-login-service/backend/src/api-internal/auth-endpoints.controller.ts:77