Class: ApiOauthModule
api-oauth/api-oauth.module.ApiOauthModule
Constructors
constructor
• new ApiOauthModule(oauthAuthorizeExtract
, oauthAuthorizeValidate
, oauthAuthorizeRedirect
, oauthToken
, errorHandler
, oauthErrorRedirect
)
Parameters
Name | Type |
---|---|
oauthAuthorizeExtract | OAuthAuthorizeExtractMiddleware |
oauthAuthorizeValidate | OAuthAuthorizeValidateMiddleware |
oauthAuthorizeRedirect | OAuthAuthorizeRedirectMiddleware |
oauthToken | OauthTokenMiddleware |
errorHandler | ErrorHandlerMiddleware |
oauthErrorRedirect | OAuthErrorRedirectMiddleware |
Defined in
gropius-login-service/backend/src/api-oauth/api-oauth.module.ts:36
Properties
errorHandler
• Private
Readonly
errorHandler: ErrorHandlerMiddleware
Defined in
gropius-login-service/backend/src/api-oauth/api-oauth.module.ts:41
middlewares
• Private
middlewares: { middlewares
: NestMiddleware
<any
, any
>[] ; path
: string
}[] = []
Defined in
gropius-login-service/backend/src/api-oauth/api-oauth.module.ts:34
oauthAuthorizeExtract
• Private
Readonly
oauthAuthorizeExtract: OAuthAuthorizeExtractMiddleware
Defined in
gropius-login-service/backend/src/api-oauth/api-oauth.module.ts:37
oauthAuthorizeRedirect
• Private
Readonly
oauthAuthorizeRedirect: OAuthAuthorizeRedirectMiddleware
Defined in
gropius-login-service/backend/src/api-oauth/api-oauth.module.ts:39
oauthAuthorizeValidate
• Private
Readonly
oauthAuthorizeValidate: OAuthAuthorizeValidateMiddleware
Defined in
gropius-login-service/backend/src/api-oauth/api-oauth.module.ts:38
oauthErrorRedirect
• Private
Readonly
oauthErrorRedirect: OAuthErrorRedirectMiddleware
Defined in
gropius-login-service/backend/src/api-oauth/api-oauth.module.ts:42
oauthToken
• Private
Readonly
oauthToken: OauthTokenMiddleware
Defined in
gropius-login-service/backend/src/api-oauth/api-oauth.module.ts:40
Methods
configure
▸ configure(consumer
): void
Parameters
Name | Type |
---|---|
consumer | MiddlewareConsumer |
Returns
void
Defined in
gropius-login-service/backend/src/api-oauth/api-oauth.module.ts:61