Skip to content

# Table of Contents

Table of Contents

FixedEndpointProvider

FixedEndpointProvider helps to configure the fixed oauth endpoints like authorization_endpoint, token_endpoint, userinfo_endpoint etc.

constructor

Public constructor for FixedEndpointProvider class

Parameters

  • authorizationEndpoint string? The URL for the Trimble Identity authorization endpoint
  • tokenEndpoint string? The URL for the Trimble Identity token endpoint
  • userInfoEndpoint string? The URL for the Trimble Identity user information endpoint
  • tokenRevocationEndpoint string? The URL for the Trimble Identity token revocation endpoint, if not supplied this is computed relative to the token endpoint
  • jwksEndpoint string? The URL for the Trimble Identity JSON web keyset endpoint

WithAuthorizationEndpoint

Add an authorization endpoint

Parameters

  • authorizationEndpoint string The URL for the Trimble Identity authorization endpoint

Returns IEndpointProvider A new instance of a FixedEndpointProvider

WithTokenEndpoint

Add a token endpoint

Parameters

  • tokenEndpoint string The URL for the Trimble Identity token endpoint

Returns IEndpointProvider A new instance of a FixedEndpointProvider

WithUserInfoEndpoint

Add a user info endpoint

Parameters

  • userInfoEndpoint string The URL for the Trimble Identity user information endpoint

Returns IEndpointProvider A new instance of a FixedEndpointProvider

WithTokenRevocationEndpoint

Add a token revocation endpoint

Parameters

  • tokenRevocationEndpoint string The URL for the Trimble Identity token revocation endpoint

Returns IEndpointProvider A new instance of a FixedEndpointProvider

WithEndSessionEndpoint

Add an end session endpoint

Parameters

  • endSessionEndpoint string The URL for the Trimble Identity end session endpoint, if not supplied this is computed relative to the token endpoint

Returns IEndpointProvider A new instance of a FixedEndpointProvider

WithJWKSEndpoint

Add a JWKS endpoint

Parameters

  • jwksEndpoint string The URL for the Trimble Identity JSON web keyset endpoint

Returns IEndpointProvider A new instance of a FixedEndpointProvider

RetrieveAuthorizationEndpoint

Retrieves a URL for the Trimble Identity authorization endpoint

Returns PromiseLike<string> A Task that resolves to the value of the URL 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