OAuthAuthorizationServerOptions.AccessTokenFormat Property

The data format used to protect the information contained in the access token. If not provided by the application the default data protection provider depends on the host server. The SystemWeb host on IIS will use ASP.NET machine key data protection, and HttpListener and other self-hosted servers will use DPAPI data protection. If a different access token provider or format is assigned, a compatible instance must be assigned to the OAuthBearerAuthenticationOptions.AccessTokenProvider or OAuthBearerAuthenticationOptions.AccessTokenFormat property of the resource server.

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

Syntax

'Declaration
Public Property AccessTokenFormat As ISecureDataFormat(Of AuthenticationTicket)
    Get 
    Set
'Usage
Dim instance As OAuthAuthorizationServerOptions 
Dim value As ISecureDataFormat(Of AuthenticationTicket)

value = instance.AccessTokenFormat

instance.AccessTokenFormat = value
public ISecureDataFormat<AuthenticationTicket> AccessTokenFormat { get; set; }
public:
property ISecureDataFormat<AuthenticationTicket^>^ AccessTokenFormat {
    ISecureDataFormat<AuthenticationTicket^>^ get ();
    void set (ISecureDataFormat<AuthenticationTicket^>^ value);
}
member AccessTokenFormat : ISecureDataFormat<AuthenticationTicket> with get, set
function get AccessTokenFormat () : ISecureDataFormat<AuthenticationTicket>
function set AccessTokenFormat (value : ISecureDataFormat<AuthenticationTicket>)

Property Value

Type: Microsoft.Owin.Security.ISecureDataFormat<AuthenticationTicket>

See Also

Reference

OAuthAuthorizationServerOptions Class

Microsoft.Owin.Security.OAuth Namespace