Share via


UserTokenClient Class

Definition

Client for access user token service.

public abstract class UserTokenClient : IDisposable
type UserTokenClient = class
    interface IDisposable
Public MustInherit Class UserTokenClient
Implements IDisposable
Inheritance
UserTokenClient
Implements

Constructors

UserTokenClient()

Methods

CreateTokenExchangeState(String, String, Activity)

Helper function to create the base64 encoded token exchange state used in GetSignInResourceAsync calls.

Dispose()

Performs application-defined tasks associated with freeing, releasing, or resetting unmanaged resources.

Dispose(Boolean)

Protected implementation of dispose pattern.

ExchangeTokenAsync(String, String, String, TokenExchangeRequest, CancellationToken)

Performs a token exchange operation such as for single sign-on.

GetAadTokensAsync(String, String, String[], String, CancellationToken)

Retrieves Azure Active Directory tokens for particular resources on a configured connection.

GetSignInResourceAsync(String, Activity, String, CancellationToken)

Get the raw signin link to be sent to the user for signin for a connection name.

GetTokenStatusAsync(String, String, String, CancellationToken)

Retrieves the token status for each configured connection for the given user.

GetUserTokenAsync(String, String, String, String, CancellationToken)

Attempts to retrieve the token for a user that's in a login flow.

SignOutUserAsync(String, String, String, CancellationToken)

Signs the user out with the token server.

Applies to