Udostępnij za pośrednictwem


MicrosoftAccountCredentials Class

Definition

A ProviderCredentials implementation containing provider specific credentials for Microsoft Account authentication.

public class MicrosoftAccountCredentials : Microsoft.Azure.Mobile.Server.Authentication.ProviderCredentials
type MicrosoftAccountCredentials = class
    inherit ProviderCredentials
Public Class MicrosoftAccountCredentials
Inherits ProviderCredentials
Inheritance
MicrosoftAccountCredentials

Constructors

MicrosoftAccountCredentials()

Initializes a new instance of the MicrosoftAccountCredentials class.

Properties

AccessToken

Gets or sets the access token for the current user.

AccessTokenExpiration

Gets or sets the expiration time for the access token.

Provider

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

(Inherited from ProviderCredentials)
RefreshToken

Gets or sets the refresh token for the current user.

UserClaims

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

(Inherited from ProviderCredentials)
UserId

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

(Inherited from ProviderCredentials)

Applies to