C# Class Microsoft.Identity.Client.Internal.TokenCacheKey

TokenCacheKey can be used with Linq to access items from the TokenCache dictionary.
Show file Open project: AzureAD/microsoft-authentication-library-for-dotnet Class Usage Examples

Public Methods

Method Description
Equals ( TokenCacheKey other ) : bool

Determines whether the specified TokenCacheKey is equal to the current object.

Equals ( object obj ) : bool

Determines whether the specified object is equal to the current object.

GetHashCode ( ) : int

Returns the hash code for this TokenCacheKey.

ScopeIntersects ( HashSet otherScope ) : bool
ToString ( ) : string

Private Methods

Method Description
Equals ( string string1, string string2 ) : bool
ScopeContains ( HashSet otherScope ) : bool
ScopeEquals ( HashSet otherScope ) : bool
TokenCacheKey ( string authority, HashSet scope, string clientId, User user ) : System
TokenCacheKey ( string authority, HashSet scope, string clientId, User user, string policy ) : System
TokenCacheKey ( string authority, HashSet scope, string clientId, string uniqueId, string displayableId, string homeObjectId ) : System
TokenCacheKey ( string authority, HashSet scope, string clientId, string uniqueId, string displayableId, string homeObjectId, string policy ) : System

Method Details

Equals() public method

Determines whether the specified TokenCacheKey is equal to the current object.
public Equals ( TokenCacheKey other ) : bool
other TokenCacheKey The TokenCacheKey to compare with the current object.
return bool

Equals() public method

Determines whether the specified object is equal to the current object.
public Equals ( object obj ) : bool
obj object The object to compare with the current object.
return bool

GetHashCode() public method

Returns the hash code for this TokenCacheKey.
public GetHashCode ( ) : int
return int

ScopeIntersects() public method

public ScopeIntersects ( HashSet otherScope ) : bool
otherScope HashSet
return bool

ToString() public method

public ToString ( ) : string
return string