BackendAuthorizationClient Class

Beta  

Utility to generate OIDC/OAuth tokens for backend applications

Extends

Extended by

Methods

Name Description
constructor(configuration: BackendAuthorizationClientConfiguration): BackendAuthorizationClient Creates an instance of BackendAuthorizationClient.  
discoverEndpoints(requestContext: ClientRequestContext): Promise<Issuer<Client>> Discover the endpoints of the service  
getClient(requestContext: ClientRequestContext): Promise<Client> Protected    

Inherited methods

Name Inherited from Description
applyUserConfiguredHttpRequestOptions(requestOptions: RequestOptions, userDefinedRequestOptions?: HttpRequestOptions): void Protected ImsAuthorizationClient Configures request options based on user defined values in HttpRequestOptions
delete(requestContext: AuthorizedClientRequestContext, relativeUrlPath: string, httpRequestOptions?: HttpRequestOptions): Promise<void> Protected ImsAuthorizationClient used by clients to send delete requests
getUrl(requestContext: ClientRequestContext): Promise<string> ImsAuthorizationClient Gets the URL of the service.
getUrlSearchKey(): string Protected ImsAuthorizationClient Gets name/key to query the service URLs from the URL Discovery Service ("Buddi")
setupOptionDefaults(options: RequestOptions): Promise<void> Protected ImsAuthorizationClient Augments request options with defaults returned by the DefaultRequestOptionsProvider.

Properties

Name Type Description
_configuration Protected BackendAuthorizationClientConfiguration    

Inherited properties

Name Type Inherited from Description
_url Protected undefined | string ImsAuthorizationClient  
baseUrl Protected undefined | string ImsAuthorizationClient Sets the default base URL to use with this client.
searchKey StaticReadonly string ImsAuthorizationClient  

Defined in

Last Updated: 11 June, 2024