C# Класс Telligent.Services.SamlAuthenticationPlugin.Components.SamlTokenData

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

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

Метод Описание
GetAttribute ( string attributeName ) : string

Returns the requested Attribute Value or throws a not found exception

GetAttribute ( string attributeName, string defaultValue ) : string

Returns the requested Attribute Value or the default value if the Attribute is not found in the collection

GetAttributes ( string delimiter, string attributeName ) : string
GetAttributes ( string attributeName ) : string[]

Returns the requested Attribute Values when multiple entries of the same name are expected

GetOAuthData ( ) : OAuthData
IsExistingUser ( ) : bool
SamlTokenData ( ) : System
Validate ( bool throwExceptions = true ) : bool

Iterate through the passed attributes and validate they meet the configuration requirements for user processing

Приватные методы

Метод Описание
DistroySecureCookie ( string tokenKey ) : void
GetFromSecureCookie ( string tokenKey ) : SamlTokenData
SaveToSecureCookie ( ) : System.Guid

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

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

Returns the requested Attribute Value or throws a not found exception
public GetAttribute ( string attributeName ) : string
attributeName string
Результат string

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

Returns the requested Attribute Value or the default value if the Attribute is not found in the collection
public GetAttribute ( string attributeName, string defaultValue ) : string
attributeName string
defaultValue string
Результат string

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

public GetAttributes ( string delimiter, string attributeName ) : string
delimiter string
attributeName string
Результат string

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

Returns the requested Attribute Values when multiple entries of the same name are expected
public GetAttributes ( string attributeName ) : string[]
attributeName string
Результат string[]

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

public GetOAuthData ( ) : OAuthData
Результат OAuthData

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

public IsExistingUser ( ) : bool
Результат bool

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

public SamlTokenData ( ) : System
Результат System

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

Iterate through the passed attributes and validate they meet the configuration requirements for user processing
public Validate ( bool throwExceptions = true ) : bool
throwExceptions bool
Результат bool