Share via


OAuthAuthorizationServerOptions.RefreshTokenFormat Property

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

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

Syntax

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

value = instance.RefreshTokenFormat

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

Property Value

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

See Also

Reference

OAuthAuthorizationServerOptions Class

Microsoft.Owin.Security.OAuth Namespace