OidcBrowserClient Class
Beta
Utility to generate OIDC/OAuth tokens for Single Page Applications (running in the Browser)
Extends
Implements
Methods
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. |
Properties
Name |
Type |
Description |
|
_accessToken Protected |
undefined | AccessToken |
|
|
hasExpired Accessor ReadOnly |
boolean |
Set to true if the user has signed in, but the token has expired and requires a refresh |
|
hasSignedIn Accessor ReadOnly |
boolean |
Set to true if signed in - the accessToken may be active or may have expired and require a refresh |
|
isAuthorized Accessor ReadOnly |
boolean |
Set to true if there's a current authorized user. |
|
onUserStateChanged |
BeEvent<(token: AccessToken | undefined) => void> |
Event called when the user's sign-in state changes - this may be due to calls to signIn(), signOut(), if the token |
|
Inherited properties
Name |
Type |
Inherited from |
Description |
_url Protected |
undefined | string |
Client |
|
searchKey Static |
string |
OidcClient |
|
Defined in
Last Updated:
05 June, 2020