OAuthAuthorizationServerOptions.AuthorizationCodeProvider Property

 

Produces a single-use authorization code to return to the client application. For the OAuth server to be secure the application MUST provide an instance for AuthorizationCodeProvider where the token produced by the OnCreate or OnCreateAsync event is considered valid for only one call to OnReceive or OnReceiveAsync.

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

Syntax

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

Property Value

Type: Microsoft.Owin.Security.Infrastructure.IAuthenticationTokenProvider

Returns IAuthenticationTokenProvider.

See Also

OAuthAuthorizationServerOptions Class
Microsoft.Owin.Security.OAuth Namespace

Return to top