Note

Access to this page requires authorization. You can try signing in or .

Access to this page requires authorization. You can try .

IAccessTokenProvider Interface

Definition

Namespace:
Microsoft.AspNetCore.Components.WebAssembly.Authentication
Assembly:
Microsoft.AspNetCore.Components.WebAssembly.Authentication.dll
Package:
Microsoft.AspNetCore.Components.WebAssembly.Authentication v10.0.0
Package:
Microsoft.AspNetCore.Components.WebAssembly.Authentication v11.0.0-preview.4.26230.115
Package:
Microsoft.AspNetCore.Components.WebAssembly.Authentication v3.2.1
Package:
Microsoft.AspNetCore.Components.WebAssembly.Authentication v5.0.9
Package:
Microsoft.AspNetCore.Components.WebAssembly.Authentication v6.0.6
Package:
Microsoft.AspNetCore.Components.WebAssembly.Authentication v7.0.5
Package:
Microsoft.AspNetCore.Components.WebAssembly.Authentication v8.0.19
Package:
Microsoft.AspNetCore.Components.WebAssembly.Authentication v9.0.8
Source:
IAccessTokenProvider.cs
Source:
IAccessTokenProvider.cs
Source:
IAccessTokenProvider.cs
Source:
IAccessTokenProvider.cs
Source:
IAccessTokenProvider.cs
Source:
IAccessTokenProvider.cs

Important

Some information relates to prerelease product that may be substantially modified before it’s released. Microsoft makes no warranties, express or implied, with respect to the information provided here.

Represents a contract for services capable of provisioning access tokens for an application.

public interface class IAccessTokenProvider
public interface IAccessTokenProvider
type IAccessTokenProvider = interface
Public Interface IAccessTokenProvider
Derived

Methods

Name Description
RequestAccessToken()

Tries to get an access token for the current user with the default set of permissions.

RequestAccessToken(AccessTokenRequestOptions)

Tries to get an access token with the options specified in AccessTokenRequestOptions.

Applies to


Feedback

Was this page helpful?