OidcBackendClient Class


Utility to generate OIDC/OAuth tokens for backend applications


Extended by


Name Description
constructor(configuration: OidcBackendClientConfiguration): OidcBackendClient Creates an instance of OidcBackendClient.  
createToken(tokenSet: TokenSet, userInfo?: UserInfo): AccessToken Protected    
discoverEndpoints(requestContext: ClientRequestContext): Promise<Issuer> Discover the endpoints of the service  
getClient(requestContext: ClientRequestContext): Promise<OpenIdClient> Protected    
parseUserInfo(jwt: string): UserInfo | undefined Static    

Inherited methods

Name Inherited from Description
delete(requestContext: AuthorizedClientRequestContext, relativeUrlPath: string): Promise<void> Protected Client used by clients to send delete requests
getUrl(requestContext: ClientRequestContext): Promise<string> Client Gets the URL of the service.
getUrlSearchKey(): string Protected OidcClient Gets name/key to query the service URLs from the URL Discovery Service ("Buddi")
setupOptionDefaults(options: RequestOptions): Promise<void> Protected Client Augments request options with defaults returned by the DefaultRequestOptionsProvider.


Name Type Description
_configuration Protected OidcBackendClientConfiguration    

Inherited properties

Name Type Inherited from Description
_url Protected undefined | string Client  
searchKey Static string OidcClient  

Defined in

Last Updated: 08 January, 2020