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
'Declaration
Public Property AuthorizationCodeProvider As IAuthenticationTokenProvider
Get
Set
'Usage
Dim instance As OAuthAuthorizationServerOptions
Dim value As IAuthenticationTokenProvider
value = instance.AuthorizationCodeProvider
instance.AuthorizationCodeProvider = value
public IAuthenticationTokenProvider AuthorizationCodeProvider { get; set; }
public:
property IAuthenticationTokenProvider^ AuthorizationCodeProvider {
IAuthenticationTokenProvider^ get ();
void set (IAuthenticationTokenProvider^ value);
}
member AuthorizationCodeProvider : IAuthenticationTokenProvider with get, set
function get AuthorizationCodeProvider () : IAuthenticationTokenProvider
function set AuthorizationCodeProvider (value : IAuthenticationTokenProvider)
Property Value
Type: Microsoft.Owin.Security.Infrastructure.IAuthenticationTokenProvider