Udostępnij za pośrednictwem


IByRefreshToken Interface

Definition

public interface IByRefreshToken
type IByRefreshToken = interface
Public Interface IByRefreshToken
Derived

Methods

AcquireTokenByRefreshToken(IEnumerable<String>, String)

Acquires an access token from an existing refresh token and stores it, and the refresh token, in the user token cache, where it will be available for further AcquireTokenSilent calls. This method can be used in migration to MSAL from ADAL v2, and in various integration scenarios where you have a RefreshToken available. See https://aka.ms/msal-net-migration-adal2-msal2.

AcquireTokenByRefreshTokenAsync(IEnumerable<String>, String)
Obsolete.

Acquires an access token from an existing refresh token and stores it and the refresh token into the user token cache, where it will be available for further AcquireTokenSilentAsync calls. This method can be used in migration to MSAL from ADAL v2 and in various integration scenarios where you have a RefreshToken available. (see https://aka.ms/msal-net-migration-adal2-msal2)

Applies to