IProvider.GetTokenAsync(Boolean) 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.
Retrieve a token for the authenticated user.
public System.Threading.Tasks.Task<string> GetTokenAsync(bool silentOnly = false);
abstract member GetTokenAsync : bool -> System.Threading.Tasks.Task<string>
Public Function GetTokenAsync (Optional silentOnly As Boolean = false) As Task(Of String)
Parameters
- silentOnly
- Boolean
Determines if the acquisition should be done without prompts to the user.
Returns
A token string for the authenticated user.