API version:
Show / Hide Table of Contents

Interface IOAuthTokenProvider

Interface for OAuth token providers.

Namespace: Okta.Sdk.Internal
Assembly: Okta.Sdk.dll
Syntax
public interface IOAuthTokenProvider

Methods

GetAccessTokenAsync(Boolean)

Gets an access token.

Declaration
Task<string> GetAccessTokenAsync(bool forceRenew = false)
Parameters
Type Name Description
System.Boolean forceRenew

The flag to indicate if the access token should be renewed.

Returns
Type Description
System.Threading.Tasks.Task<System.String>

The access token.

Back to top Copyright © 2021 Okta, Inc.
Generated with DocFx.