Freigeben über


UserToken class

Klasse, die einen UserToken darstellt.

Konstruktoren

UserToken(TokenApiClientContext)

Erstellen Sie ein UserToken.

Methoden

exchangeAsync(string, string, string, TokenExchangeRequest, RequestOptionsBase)
exchangeAsync(string, string, string, TokenExchangeRequest, RequestOptionsBase, ServiceCallback<any>)
exchangeAsync(string, string, string, TokenExchangeRequest, ServiceCallback<any>)
getAadTokens(string, string, AadResourceUrls, ServiceCallback<[key: string]: TokenResponse>)
getAadTokens(string, string, AadResourceUrls, UserTokenGetAadTokensOptionalParams)
getAadTokens(string, string, AadResourceUrls, UserTokenGetAadTokensOptionalParams, ServiceCallback<[key: string]: TokenResponse>)
getToken(string, string, ServiceCallback<TokenResponse>)
getToken(string, string, UserTokenGetTokenOptionalParams)
getToken(string, string, UserTokenGetTokenOptionalParams, ServiceCallback<TokenResponse>)
getTokenStatus(string, ServiceCallback<TokenStatus[]>)
getTokenStatus(string, UserTokenGetTokenStatusOptionalParams)
getTokenStatus(string, UserTokenGetTokenStatusOptionalParams, ServiceCallback<TokenStatus[]>)
signOut(string, ServiceCallback<any>)
signOut(string, UserTokenSignOutOptionalParams)
signOut(string, UserTokenSignOutOptionalParams, ServiceCallback<any>)

Details zum Konstruktor

UserToken(TokenApiClientContext)

Erstellen Sie ein UserToken.

new UserToken(client: TokenApiClientContext)

Parameter

client
TokenApiClientContext

Verweis auf den Dienstclient.

Details zur Methode

exchangeAsync(string, string, string, TokenExchangeRequest, RequestOptionsBase)

function exchangeAsync(userId: string, connectionName: string, channelId: string, exchangeRequest: TokenExchangeRequest, options?: RequestOptionsBase): Promise<Models.UserTokenExchangeAsyncResponse>

Parameter

userId

string

connectionName

string

channelId

string

exchangeRequest

TokenExchangeRequest

options

RequestOptionsBase

Gibt zurück

Promise<Models.UserTokenExchangeAsyncResponse>

Promise<Models.UserTokenExchangeAsyncResponse>

exchangeAsync(string, string, string, TokenExchangeRequest, RequestOptionsBase, ServiceCallback<any>)

function exchangeAsync(userId: string, connectionName: string, channelId: string, exchangeRequest: TokenExchangeRequest, options: RequestOptionsBase, callback: ServiceCallback<any>)

Parameter

userId

string

connectionName

string

channelId

string

exchangeRequest

TokenExchangeRequest

options

RequestOptionsBase

Die optionalen Parameter

callback

ServiceCallback<any>

Der Rückruf.

exchangeAsync(string, string, string, TokenExchangeRequest, ServiceCallback<any>)

function exchangeAsync(userId: string, connectionName: string, channelId: string, exchangeRequest: TokenExchangeRequest, callback: ServiceCallback<any>)

Parameter

userId

string

connectionName

string

channelId

string

exchangeRequest

TokenExchangeRequest

callback

ServiceCallback<any>

Der Rückruf.

getAadTokens(string, string, AadResourceUrls, ServiceCallback<[key: string]: TokenResponse>)

function getAadTokens(userId: string, connectionName: string, aadResourceUrls: AadResourceUrls, callback: ServiceCallback<[key: string]: TokenResponse>)

Parameter

userId

string

connectionName

string

aadResourceUrls
AadResourceUrls
callback

ServiceCallback<[key: string]: TokenResponse>

Der Rückruf.

getAadTokens(string, string, AadResourceUrls, UserTokenGetAadTokensOptionalParams)

function getAadTokens(userId: string, connectionName: string, aadResourceUrls: AadResourceUrls, options?: UserTokenGetAadTokensOptionalParams): Promise<Models.UserTokenGetAadTokensResponse>

Parameter

userId

string

connectionName

string

aadResourceUrls
AadResourceUrls

Gibt zurück

Promise<Models.UserTokenGetAadTokensResponse>

Promise<Models.UserTokenGetAadTokensResponse>

getAadTokens(string, string, AadResourceUrls, UserTokenGetAadTokensOptionalParams, ServiceCallback<[key: string]: TokenResponse>)

function getAadTokens(userId: string, connectionName: string, aadResourceUrls: AadResourceUrls, options: UserTokenGetAadTokensOptionalParams, callback: ServiceCallback<[key: string]: TokenResponse>)

Parameter

userId

string

connectionName

string

aadResourceUrls
AadResourceUrls
options
UserTokenGetAadTokensOptionalParams

Die optionalen Parameter

callback

ServiceCallback<[key: string]: TokenResponse>

Der Rückruf.

getToken(string, string, ServiceCallback<TokenResponse>)

function getToken(userId: string, connectionName: string, callback: ServiceCallback<TokenResponse>)

Parameter

userId

string

connectionName

string

callback

ServiceCallback<TokenResponse>

Der Rückruf.

getToken(string, string, UserTokenGetTokenOptionalParams)

function getToken(userId: string, connectionName: string, options?: UserTokenGetTokenOptionalParams): Promise<Models.UserTokenGetTokenResponse>

Parameter

userId

string

connectionName

string

Gibt zurück

Promise<Models.UserTokenGetTokenResponse>

Promise<Models.UserTokenGetTokenResponse>

getToken(string, string, UserTokenGetTokenOptionalParams, ServiceCallback<TokenResponse>)

function getToken(userId: string, connectionName: string, options: UserTokenGetTokenOptionalParams, callback: ServiceCallback<TokenResponse>)

Parameter

userId

string

connectionName

string

options
UserTokenGetTokenOptionalParams

Die optionalen Parameter

callback

ServiceCallback<TokenResponse>

Der Rückruf.

getTokenStatus(string, ServiceCallback<TokenStatus[]>)

function getTokenStatus(userId: string, callback: ServiceCallback<TokenStatus[]>)

Parameter

userId

string

callback

ServiceCallback<TokenStatus[]>

Der Rückruf.

getTokenStatus(string, UserTokenGetTokenStatusOptionalParams)

function getTokenStatus(userId: string, options?: UserTokenGetTokenStatusOptionalParams): Promise<Models.UserTokenGetTokenStatusResponse>

Parameter

userId

string

Gibt zurück

Promise<Models.UserTokenGetTokenStatusResponse>

Promise<Models.UserTokenGetTokenStatusResponse>

getTokenStatus(string, UserTokenGetTokenStatusOptionalParams, ServiceCallback<TokenStatus[]>)

function getTokenStatus(userId: string, options: UserTokenGetTokenStatusOptionalParams, callback: ServiceCallback<TokenStatus[]>)

Parameter

userId

string

options
UserTokenGetTokenStatusOptionalParams

Die optionalen Parameter

callback

ServiceCallback<TokenStatus[]>

Der Rückruf.

signOut(string, ServiceCallback<any>)

function signOut(userId: string, callback: ServiceCallback<any>)

Parameter

userId

string

callback

ServiceCallback<any>

Der Rückruf.

signOut(string, UserTokenSignOutOptionalParams)

function signOut(userId: string, options?: UserTokenSignOutOptionalParams): Promise<Models.UserTokenSignOutResponse>

Parameter

userId

string

Gibt zurück

Promise<Models.UserTokenSignOutResponse>

Promise<Models.UserTokenSignOutResponse>

signOut(string, UserTokenSignOutOptionalParams, ServiceCallback<any>)

function signOut(userId: string, options: UserTokenSignOutOptionalParams, callback: ServiceCallback<any>)

Parameter

userId

string

options
UserTokenSignOutOptionalParams

Die optionalen Parameter

callback

ServiceCallback<any>

Der Rückruf.