@acceleratxr/core_sdk / OpenIDService
Interface: OpenIDService#
Hierarchy#
OpenIDService
Implemented by#
Index#
Methods#
Methods#
authenticate#
▸ authenticate(params: any): Promise<AuthToken | undefined>
Defined in src/services/OpenIDService.ts:12
Authenticates the user using a set of OpenID Connect parameters and returns a JSON Web Token access token to be used with future API requests.
Parameters:#
Name |
Type |
Description |
|---|---|---|
|
any |
The map of OpenID Connect parameters to pass to the backend. |
Returns: Promise<AuthToken | undefined>
connect#
▸ connect(params: any, force?: undefined | false | true): Promise<void>
Defined in src/services/OpenIDService.ts:20
Authenticates the user using a set of OpenID Connect parameters and returns a JSON Web Token access token to be used with future API requests.
Parameters:#
Name |
Type |
Description |
|---|---|---|
|
any |
The map of OpenID Connect parameters to pass to the backend. |
|
undefined | false | true |
Set to |
Returns: Promise<void>