Skip to content

# Table of Contents

Table of Contents

OpenIdKeysetProvider

OpenIdKeysetProvider provides a keyset for JSON web token

constructor

Public constructor for OpenIdKeySetProvider class

Parameters

  • endpointProvider IEndpointProvider An endpoint provider that provides the URL for the Trimble Identity JSON web keyset endpoint

RetrieveKeyset

Retrieves an dictionary of named keys

  • Throws any Thrown when a JSON web keyset endpoint is not provided by the endpoint provider
  • Throws any Thrown when a call to the JSON web keyset endpoint fails

Returns PromiseLike<[Keyset]> A Task that resolves to a dictionary of named keys on completion

IKeysetProvider

Interface for a JSON web keyset (JWKS) provider

RetrieveKeyset

Retrieves an dictionary of named keys

Returns PromiseLike<[Keyset]> A Task that resolvesss to a dictionary of named keys on completion

IEndpointProvider

Interface for an endpoint provider

RetrieveAuthorizationEndpoint

Returns PromiseLike<string> A promise that resolves to the value of the authorization endpoint on completion

RetrieveTokenEndpoint

Returns PromiseLike<string> A promise that resolves to the value of the token endpoint on completion

RetrieveUserInfoEndpoint

Returns PromiseLike<string> A promise that resolves to the value of the user information endpoint on completion

RetrieveTokenRevocationEndpoint

Returns PromiseLike<string> A promise that resolves to the value of the token revocation endpoint on completion

RetrieveJSONWebKeySetEndpoint

Returns PromiseLike<string> A promise that resolves to the value of the JWKS endpoint on completion

Keyset

Interface for Keyset