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
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
Public Property AccessTokenFormat As ISecureDataFormat(Of AuthenticationTicket)
Property Value
Type: Microsoft.Owin.Security.ISecureDataFormat<AuthenticationTicket>
Returns ISecureDataFormat<TData>.
See Also
OAuthAuthorizationServerOptions Class
Microsoft.Owin.Security.OAuth Namespace
Return to top