C# Class Telligent.Services.SamlAuthenticationPlugin.Components.SamlTokenData

Afficher le fichier Open project: Telligent/SAML Class Usage Examples

Méthodes publiques

Méthode Description
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

Private Methods

Méthode Description
DistroySecureCookie ( string tokenKey ) : void
GetFromSecureCookie ( string tokenKey ) : SamlTokenData
SaveToSecureCookie ( ) : System.Guid

Method Details

GetAttribute() public méthode

Returns the requested Attribute Value or throws a not found exception
public GetAttribute ( string attributeName ) : string
attributeName string
Résultat string

GetAttribute() public méthode

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
Résultat string

GetAttributes() public méthode

public GetAttributes ( string delimiter, string attributeName ) : string
delimiter string
attributeName string
Résultat string

GetAttributes() public méthode

Returns the requested Attribute Values when multiple entries of the same name are expected
public GetAttributes ( string attributeName ) : string[]
attributeName string
Résultat string[]

GetOAuthData() public méthode

public GetOAuthData ( ) : OAuthData
Résultat OAuthData

IsExistingUser() public méthode

public IsExistingUser ( ) : bool
Résultat bool

SamlTokenData() public méthode

public SamlTokenData ( ) : System
Résultat System

Validate() public méthode

Iterate through the passed attributes and validate they meet the configuration requirements for user processing
public Validate ( bool throwExceptions = true ) : bool
throwExceptions bool
Résultat bool