C# Class DotNetOpenAuth.OAuth2.ChannelElements.AuthorizationCode

Represents the authorization code created when a user approves authorization that allows the client to request an access/refresh token.
Inheritance: DotNetOpenAuth.OAuth2.ChannelElements.AuthorizationDataBag
Exibir arquivo Open project: OneCare/dotnetopenid Class Usage Examples

Private Properties

Property Type Description
AuthorizationCode System
CalculateCallbackHash byte[]
CreateFormatter IDataBagFormatter
VerifyCallback void

Public Methods

Method Description
AuthorizationCode ( ) : System

Initializes a new instance of the AuthorizationCode class.

Private Methods

Method Description
AuthorizationCode ( string clientIdentifier, Uri callback, IEnumerable scopes, string username ) : System

Initializes a new instance of the AuthorizationCode class.

CalculateCallbackHash ( Uri callback ) : byte[]
CreateFormatter ( IAuthorizationServer authorizationServer ) : IDataBagFormatter

Creates a serializer/deserializer for this type.

VerifyCallback ( Uri callback ) : void

Method Details

AuthorizationCode() public method

Initializes a new instance of the AuthorizationCode class.
public AuthorizationCode ( ) : System
return System