# Table of Contents
Table of Contents
- FixedEndpointProvider
- IEndpointProvider
- RetrieveAuthorizationEndpoint
- RetrieveTokenEndpoint
- RetrieveUserInfoEndpoint
- RetrieveTokenRevocationEndpoint
- RetrieveJSONWebKeySetEndpoint
FixedEndpointProvider
FixedEndpointProvider helps to configure the fixed oauth endpoints like authorization_endpoint, token_endpoint, userinfo_endpoint etc.
constructor
Public constructor for FixedEndpointProvider class
Parameters
authorizationEndpointstring? The URL for the Trimble Identity authorization endpointtokenEndpointstring? The URL for the Trimble Identity token endpointuserInfoEndpointstring? The URL for the Trimble Identity user information endpointtokenRevocationEndpointstring? The URL for the Trimble Identity token revocation endpoint, if not supplied this is computed relative to the token endpointjwksEndpointstring? The URL for the Trimble Identity JSON web keyset endpoint
WithAuthorizationEndpoint
Add an authorization endpoint
Parameters
authorizationEndpointstring The URL for the Trimble Identity authorization endpoint
Returns IEndpointProvider A new instance of a FixedEndpointProvider
WithTokenEndpoint
Add a token endpoint
Parameters
tokenEndpointstring The URL for the Trimble Identity token endpoint
Returns IEndpointProvider A new instance of a FixedEndpointProvider
WithUserInfoEndpoint
Add a user info endpoint
Parameters
userInfoEndpointstring The URL for the Trimble Identity user information endpoint
Returns IEndpointProvider A new instance of a FixedEndpointProvider
WithTokenRevocationEndpoint
Add a token revocation endpoint
Parameters
tokenRevocationEndpointstring The URL for the Trimble Identity token revocation endpoint
Returns IEndpointProvider A new instance of a FixedEndpointProvider
WithEndSessionEndpoint
Add an end session endpoint
Parameters
endSessionEndpointstring 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
jwksEndpointstring 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