SharedTokenCacheCredential Class

Definition

Authenticates using tokens in the local cache shared between Microsoft applications.

public class SharedTokenCacheCredential : Azure.Core.TokenCredential
type SharedTokenCacheCredential = class
    inherit TokenCredential
Public Class SharedTokenCacheCredential
Inherits TokenCredential
Inheritance
SharedTokenCacheCredential

Constructors

SharedTokenCacheCredential()

Creates a new SharedTokenCacheCredential which will authenticate users signed in through developer tools supporting Azure single sign on.

SharedTokenCacheCredential(SharedTokenCacheCredentialOptions)

Creates a new SharedTokenCacheCredential which will authenticate users signed in through developer tools supporting Azure single sign on.

SharedTokenCacheCredential(String, TokenCredentialOptions)

Creates a new SharedTokenCacheCredential which will authenticate users signed in through developer tools supporting Azure single sign on.

Methods

GetToken(TokenRequestContext, CancellationToken)

Obtains an AccessToken token for a user account silently if the user has already authenticated to another Microsoft application participating in SSO through a shared MSAL cache. This method is called by Azure SDK clients. It isn't intended for use in application code.

GetTokenAsync(TokenRequestContext, CancellationToken)

Obtains an AccessToken token for a user account silently if the user has already authenticated to another Microsoft application participating in SSO through a shared MSAL cache. This method is called by Azure SDK clients. It isn't intended for use in application code.

Applies to