Class TokenProvider.Key
- Namespace
- Microsoft.ServiceBus
- Assembly
- Microsoft.ServiceBus.dll
Represents a key associated with the token.
protected class TokenProvider.Key : IEquatable<TokenProvider.Key>
- Inheritance
-
TokenProvider.Key
- Implements
- Inherited Members
Constructors
Key(string, string)
Initializes a new instance of the TokenProvider.Key class.
public Key(string appliesTo, string claim)
Parameters
appliesTo
stringSpecifies the address where the key applies to.
claim
stringSpecifies a specific user, application, computer, or other entity
Methods
Equals(Key)
Determines whether the specified key is equal to the current object.
public bool Equals(TokenProvider.Key other)
Parameters
other
TokenProvider.KeyThe key to compare with the current object.
Returns
- bool
true if the specified object is equal to the current object; otherwise, false.
Equals(object)
Determines whether the specified object is equal to the current object.
public override bool Equals(object obj)
Parameters
obj
objectThe object to compare with the current object.
Returns
- bool
true if the specified object is equal to the current object; otherwise, false.
GetHashCode()
Returns the hash code for the key.
public override int GetHashCode()
Returns
- int
The hash code for the key.