C# Class DotNetOpenAuth.OpenId.Identifier

Mostra file Open project: OneCare/dotnetopenid Class Usage Examples

Private Properties

Property Type Description
Identifier System
Identifier System
IsValid bool
Parse Identifier
Parse Identifier
Reparse Identifier
TrimFragment Identifier
TryRequireSsl bool

Public Methods

Method Description
Equals ( object obj ) : bool

Tests equality between two Identifiers.

GetHashCode ( ) : int

Gets the hash code for an Identifier for storage in a hashtable.

TryParse ( string value, Identifier &result ) : bool

Attempts to parse a string for an OpenId Identifier.

operator ( ) : bool

Tests equality between two Identifiers.

Private Methods

Method Description
Identifier ( ) : System

Initializes static members of the Identifier class.

Identifier ( string originalString, bool isDiscoverySecureEndToEnd ) : System
IsValid ( string identifier ) : bool
Parse ( string identifier ) : Identifier
Parse ( string identifier, bool serializeExactValue ) : Identifier
Reparse ( Identifier identifier ) : Identifier

Reparses the specified identifier in order to be assured that the concrete type that implements the identifier is one of the well-known ones.

TrimFragment ( ) : Identifier
TryRequireSsl ( Identifier &secureIdentifier ) : bool

Converts a given identifier to its secure equivalent. UriIdentifiers originally created with an implied HTTP scheme change to HTTPS. Discovery is made to require SSL for the entire resolution process.

Method Details

Equals() public method

Tests equality between two Identifiers.
/// The parameter is null. ///
public Equals ( object obj ) : bool
obj object The to compare with the current .
return bool

GetHashCode() public method

Gets the hash code for an Identifier for storage in a hashtable.
public GetHashCode ( ) : int
return int

TryParse() public static method

Attempts to parse a string for an OpenId Identifier.
public static TryParse ( string value, Identifier &result ) : bool
value string The string to be parsed.
result Identifier The parsed Identifier form.
return bool

operator() public static method

Tests equality between two Identifiers.
public static operator ( ) : bool
return bool