OAuthAuthorizationServerOptions.AuthorizationCodeFormat Property

The data format used to protect and unprotect the information contained in the authorization code. 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.

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

Syntax

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

value = instance.AuthorizationCodeFormat

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

Property Value

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

See Also

Reference

OAuthAuthorizationServerOptions Class

Microsoft.Owin.Security.OAuth Namespace