C# Класс AspNet.Security.OpenId.OpenIdAuthenticationMessage

Represents an OpenID message.
Показать файл Открыть проект Примеры использования класса

Открытые методы

Метод Описание
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.

Описание методов

GetAttributes() публичный Метод

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
Результат string>.IDictionary

GetExtensions() публичный Метод

Gets the extensions and their corresponding alias.
public GetExtensions ( ) : string>.IDictionary
Результат string>.IDictionary

GetParameter() публичный Метод

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.
Результат string

GetParameter() публичный Метод

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.
Результат string

OpenIdAuthenticationMessage() публичный Метод

Initializes a new OpenID message.
public OpenIdAuthenticationMessage ( ) : System
Результат System

OpenIdAuthenticationMessage() публичный Метод

Initializes a new OpenID message.
public OpenIdAuthenticationMessage ( StringValues>.[ parameters ) : System
parameters StringValues>.[ The parameters associated with the message.
Результат System

OpenIdAuthenticationMessage() публичный Метод

Initializes a new OpenID message.
public OpenIdAuthenticationMessage ( string>.[ parameters ) : System
parameters string>.[ The parameters associated with the message.
Результат System

SetParameter() публичный Метод

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.
Результат void

SetParameter() публичный Метод

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.
Результат void