Share via


OAuthAuthorizationServerOptions.RefreshTokenProvider Property

Produces a refresh token which may be used to produce a new access token when needed. If not provided the authorization server will not return refresh tokens from the /Token endpoint.

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

Syntax

'Declaration
Public Property RefreshTokenProvider As IAuthenticationTokenProvider 
    Get 
    Set
'Usage
Dim instance As OAuthAuthorizationServerOptions 
Dim value As IAuthenticationTokenProvider 

value = instance.RefreshTokenProvider

instance.RefreshTokenProvider = value
public IAuthenticationTokenProvider RefreshTokenProvider { get; set; }
public:
property IAuthenticationTokenProvider^ RefreshTokenProvider {
    IAuthenticationTokenProvider^ get ();
    void set (IAuthenticationTokenProvider^ value);
}
member RefreshTokenProvider : IAuthenticationTokenProvider with get, set
function get RefreshTokenProvider () : IAuthenticationTokenProvider 
function set RefreshTokenProvider (value : IAuthenticationTokenProvider)

Property Value

Type: Microsoft.Owin.Security.Infrastructure.IAuthenticationTokenProvider

See Also

Reference

OAuthAuthorizationServerOptions Class

Microsoft.Owin.Security.OAuth Namespace