Skip to main content

Class: ApiInternalModule

api-internal/api-internal.module.ApiInternalModule

Constructors

constructor

new ApiInternalModule(authAutorizeExtract, authRedirect, modeExtractor, strategies, errorHandler, oauthErrorRedirect, oauthAuthorizeValidate, authRegister, authErrorRedirect)

Parameters

NameType
authAutorizeExtractAuthAuthorizeExtractMiddleware
authRedirectAuthRedirectMiddleware
modeExtractorModeExtractorMiddleware
strategiesStrategiesMiddleware
errorHandlerErrorHandlerMiddleware
oauthErrorRedirectOAuthErrorRedirectMiddleware
oauthAuthorizeValidateOAuthAuthorizeValidateMiddleware
authRegisterAuthRegisterMiddleware
authErrorRedirectAuthErrorRedirectMiddleware

Defined in

gropius-login-service/backend/src/api-internal/api-internal.module.ts:33

Properties

authAutorizeExtract

Private Readonly authAutorizeExtract: AuthAuthorizeExtractMiddleware

Defined in

gropius-login-service/backend/src/api-internal/api-internal.module.ts:34


authErrorRedirect

Private Readonly authErrorRedirect: AuthErrorRedirectMiddleware

Defined in

gropius-login-service/backend/src/api-internal/api-internal.module.ts:42


authRedirect

Private Readonly authRedirect: AuthRedirectMiddleware

Defined in

gropius-login-service/backend/src/api-internal/api-internal.module.ts:35


authRegister

Private Readonly authRegister: AuthRegisterMiddleware

Defined in

gropius-login-service/backend/src/api-internal/api-internal.module.ts:41


errorHandler

Private Readonly errorHandler: ErrorHandlerMiddleware

Defined in

gropius-login-service/backend/src/api-internal/api-internal.module.ts:38


middlewares

Private middlewares: { middlewares: NestMiddleware<any, any>[] ; path: string }[] = []

Defined in

gropius-login-service/backend/src/api-internal/api-internal.module.ts:31


modeExtractor

Private Readonly modeExtractor: ModeExtractorMiddleware

Defined in

gropius-login-service/backend/src/api-internal/api-internal.module.ts:36


oauthAuthorizeValidate

Private Readonly oauthAuthorizeValidate: OAuthAuthorizeValidateMiddleware

Defined in

gropius-login-service/backend/src/api-internal/api-internal.module.ts:40


oauthErrorRedirect

Private Readonly oauthErrorRedirect: OAuthErrorRedirectMiddleware

Defined in

gropius-login-service/backend/src/api-internal/api-internal.module.ts:39


strategies

Private Readonly strategies: StrategiesMiddleware

Defined in

gropius-login-service/backend/src/api-internal/api-internal.module.ts:37

Methods

configure

configure(consumer): void

Parameters

NameType
consumerMiddlewareConsumer

Returns

void

Defined in

gropius-login-service/backend/src/api-internal/api-internal.module.ts:96