TokensWebProxyGetTokenAsync - метод
Get access token with type, specified in type.
Пространство имён: Tessa.TokensСборка: Tessa (в Tessa.dll) Версия: 4.1.3+7e2b1422f9b8c7c41fbbc4b151a843bed05319ab
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.