Share via


IIdentityClientAdapter.GetAccessToken Method

Definition

Use On-behalf-of flow to exchange access token.

public System.Threading.Tasks.Task<Microsoft.Identity.Client.AuthenticationResult> GetAccessToken (string ssoToken, System.Collections.Generic.IEnumerable<string> scopes);
abstract member GetAccessToken : string * seq<string> -> System.Threading.Tasks.Task<Microsoft.Identity.Client.AuthenticationResult>
Public Function GetAccessToken (ssoToken As String, scopes As IEnumerable(Of String)) As Task(Of AuthenticationResult)

Parameters

ssoToken
String

token from Teams client

scopes
IEnumerable<String>

required scopes

Returns

Applies to