共用方式為


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

public IAuthenticationTokenProvider RefreshTokenProvider { get; set; }
public:
property IAuthenticationTokenProvider^ RefreshTokenProvider {
    IAuthenticationTokenProvider^ get();
    void set(IAuthenticationTokenProvider^ value);
}
member RefreshTokenProvider : IAuthenticationTokenProvider with get, set
Public Property RefreshTokenProvider As IAuthenticationTokenProvider

Property Value

Type: Microsoft.Owin.Security.Infrastructure.IAuthenticationTokenProvider

Returns IAuthenticationTokenProvider.

See Also

OAuthAuthorizationServerOptions Class
Microsoft.Owin.Security.OAuth Namespace

Return to top