Udostępnij za pośrednictwem


ProviderCredentials Class

Definition

Base class for all provider specific credentials. Provider specific subclasses include add their own specific information, for example access tokens, token secrets, etc.

public abstract class ProviderCredentials
type ProviderCredentials = class
Public MustInherit Class ProviderCredentials
Inheritance
ProviderCredentials
Derived

Constructors

ProviderCredentials(String)

Initializes a new instance with the name of the provider associated with this instance.

Properties

Provider

Gets or sets the name of the provider these credentials are for.

UserClaims

Gets or sets the collection of additional claims associated with this instance. May be null or empty.

UserId

Gets or sets the provider id for the user. The value can be created and parsed using the methods provided by IAppServiceTokenHandler.

Applies to