IIdentityClientAdapter.GetAccessToken Method
Definition
Important
Some information relates to prerelease product that may be substantially modified before it’s released. Microsoft makes no warranties, express or implied, with respect to the information provided here.
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