TokensWebProxyGetTokenAsync - метод
Get access token with type, specified in type.
Пространство имён: Tessa.TokensСборка: Tessa (в Tessa.dll) Версия: 4.2.0+ffad8363f63902f18b3b3f4cfa533a14b2fb19a6
public Task<AccessTokenInfo> GetTokenAsync(
string type,
TokenRequest request,
CancellationToken cancellationToken = default
)
Public Function GetTokenAsync (
type As String,
request As TokenRequest,
Optional cancellationToken As CancellationToken = Nothing
) As Task(Of AccessTokenInfo)
public:
Task<AccessTokenInfo^>^ GetTokenAsync(
String^ type,
TokenRequest^ request,
CancellationToken cancellationToken = CancellationToken()
)
member GetTokenAsync :
type : string *
request : TokenRequest *
?cancellationToken : CancellationToken
(* Defaults:
let _cancellationToken = defaultArg cancellationToken new CancellationToken()
*)
-> Task<AccessTokenInfo>
- type String
- Token type.
- request TokenRequest
Basic request for token.
- cancellationToken CancellationToken (Optional)
Propagates notification that operations should be canceled.
TaskAccessTokenInfo
Basic response for token request.