Table of Contents

Class TokenProvider.Key

Namespace
Microsoft.ServiceBus
Assembly
Microsoft.ServiceBus.dll
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 string

Specifies the address where the key applies to.

claim string

Specifies 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.Key

The 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 object

The 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.