Skip to Content
API ReferenceInterfacesInterface: AuthgearModuleOptions

@authgear/nestjs


@authgear/nestjs / AuthgearModuleOptions

Interface: AuthgearModuleOptions

Defined in: src/authgear.interfaces.ts:5 

Runtime options consumed by AuthgearTokenService.

Extended by

Properties

clientID?

optional clientID: string

Defined in: src/authgear.interfaces.ts:9 

If set, the verifier also asserts the token’s client_id claim equals this.


clockToleranceSeconds?

optional clockToleranceSeconds: number

Defined in: src/authgear.interfaces.ts:13 

Leeway in seconds applied to exp/iat checks. Default 0.


endpoint

endpoint: string

Defined in: src/authgear.interfaces.ts:7 

Authgear project endpoint, e.g. https://my-project.authgear.cloud 


jwksCacheMaxAge?

optional jwksCacheMaxAge: number

Defined in: src/authgear.interfaces.ts:11 

JWKS cache max age in milliseconds (passed to jose).