Udostępnij za pośrednictwem


OAuthBearerAuthenticationOptions.AccessTokenProvider Property

 

Receives the bearer token the client application will be providing to web application. If not provided the token produced on the server's default data protection by using the AccessTokenFormat. If a different access token provider or format is assigned, a compatible instance must be assigned to the OAuthAuthorizationServerOptions.AccessTokenProvider and OAuthAuthorizationServerOptions.AccessTokenFormat of the authorization server.

Namespace:   Microsoft.Owin.Security.OAuth
Assembly:  Microsoft.Owin.Security.OAuth (in Microsoft.Owin.Security.OAuth.dll)

Syntax

public IAuthenticationTokenProvider AccessTokenProvider { get; set; }
public:
property IAuthenticationTokenProvider^ AccessTokenProvider {
    IAuthenticationTokenProvider^ get();
    void set(IAuthenticationTokenProvider^ value);
}
member AccessTokenProvider : IAuthenticationTokenProvider with get, set
Public Property AccessTokenProvider As IAuthenticationTokenProvider

Property Value

Type: Microsoft.Owin.Security.Infrastructure.IAuthenticationTokenProvider

Returns IAuthenticationTokenProvider.

See Also

OAuthBearerAuthenticationOptions Class
Microsoft.Owin.Security.OAuth Namespace

Return to top