C# Class AspNet.Security.OpenId.OpenIdAuthenticationMessage

Represents an OpenID message.
ファイルを表示 Open project: aspnet-contrib/AspNet.Security.OpenId.Providers Class Usage Examples

Public Methods

Method Description
GetAttributes ( ) : string>.IDictionary

Gets the attributes returned by the identity provider, or an empty dictionary if the message doesn't expose an attribute exchange alias.

GetExtensions ( ) : string>.IDictionary

Gets the extensions and their corresponding alias.

GetParameter ( [ name ) : string

Gets the parameter corresponding to the requested name and the default prefix or null if no appropriate parameter can be found.

GetParameter ( [ prefix, [ name ) : string

Gets the parameter corresponding to the requested name and the given prefix or null if no appropriate parameter can be found.

OpenIdAuthenticationMessage ( ) : System

Initializes a new OpenID message.

OpenIdAuthenticationMessage ( StringValues>.[ parameters ) : System

Initializes a new OpenID message.

OpenIdAuthenticationMessage ( string>.[ parameters ) : System

Initializes a new OpenID message.

SetParameter ( [ name, [ value ) : void

Adds, replaces or removes the parameter corresponding to the requested name and the default prefix.

SetParameter ( [ prefix, [ name, [ value ) : void

Adds, replaces or removes the parameter corresponding to the requested name and the given prefix.

Method Details

GetAttributes() public method

Gets the attributes returned by the identity provider, or an empty dictionary if the message doesn't expose an attribute exchange alias.
public GetAttributes ( ) : string>.IDictionary
return string>.IDictionary

GetExtensions() public method

Gets the extensions and their corresponding alias.
public GetExtensions ( ) : string>.IDictionary
return string>.IDictionary

GetParameter() public method

Gets the parameter corresponding to the requested name and the default prefix or null if no appropriate parameter can be found.
public GetParameter ( [ name ) : string
name [ The parameter to retrieve.
return string

GetParameter() public method

Gets the parameter corresponding to the requested name and the given prefix or null if no appropriate parameter can be found.
public GetParameter ( [ prefix, [ name ) : string
prefix [ The prefix used to discriminate the parameter.
name [ The parameter to retrieve.
return string

OpenIdAuthenticationMessage() public method

Initializes a new OpenID message.
public OpenIdAuthenticationMessage ( ) : System
return System

OpenIdAuthenticationMessage() public method

Initializes a new OpenID message.
public OpenIdAuthenticationMessage ( StringValues>.[ parameters ) : System
parameters StringValues>.[ The parameters associated with the message.
return System

OpenIdAuthenticationMessage() public method

Initializes a new OpenID message.
public OpenIdAuthenticationMessage ( string>.[ parameters ) : System
parameters string>.[ The parameters associated with the message.
return System

SetParameter() public method

Adds, replaces or removes the parameter corresponding to the requested name and the default prefix.
public SetParameter ( [ name, [ value ) : void
name [ The parameter to store.
value [ The value associated with the parameter.
return void

SetParameter() public method

Adds, replaces or removes the parameter corresponding to the requested name and the given prefix.
public SetParameter ( [ prefix, [ name, [ value ) : void
prefix [ The prefix used to discriminate the parameter.
name [ The parameter to store.
value [ The value associated with the parameter.
return void