SimpleAccessToken(IAzureAccount, String, String) Constructor
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.
Create a new access token from the given account and tenant id
public SimpleAccessToken (Microsoft.Azure.Commands.Common.Authentication.Abstractions.IAzureAccount account, string tenantId, string tokenType = "Bearer");
new Microsoft.Azure.Commands.Profile.Models.SimpleAccessToken : Microsoft.Azure.Commands.Common.Authentication.Abstractions.IAzureAccount * string * string -> Microsoft.Azure.Commands.Profile.Models.SimpleAccessToken
Public Sub New (account As IAzureAccount, tenantId As String, Optional tokenType As String = "Bearer")
Parameters
- account
- IAzureAccount
The account, containing user id, access token information
- tenantId
- String
The tenant id for the given access token
- tokenType
- String
The token type for the given token.