@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

params

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

params

any

The map of OpenID Connect parameters to pass to the backend.

force?

undefined | false | true

Set to true for force the connection.

Returns: Promise<void>