Table of Contents

Interface IAccessTokenProvider

Namespace
Tenduke.Core.Auth.TokenStore
Assembly
Tenduke.Core.dll

Provides access to currently held OIDC Access Token.

public interface IAccessTokenProvider

Methods

GetAccessTokenAsync()

Gets the currently held OIDC Access Token.

Task<string> GetAccessTokenAsync()

Returns

Task<string>

The currently held OIDC Access Token.

Remarks

If the token is expired or close to expiry and a refresh token has been issued as part of the access token, then a refresh will be attempted before the value is returned.