你当前正在访问 Microsoft Azure Global Edition 技术文档网站。 如果需要访问由世纪互联运营的 Microsoft Azure 中国技术文档网站,请访问 https://docs.azure.cn。
SimpleAccessToken Class
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.
Provides access token information for a bearer token
public class SimpleAccessToken : Microsoft.Azure.Commands.Common.Authentication.IAccessToken
type SimpleAccessToken = class
interface IAccessToken
interface IExtensibleModel
type SimpleAccessToken = class
interface IAccessToken
Public Class SimpleAccessToken
Implements IAccessToken
- Inheritance
-
SimpleAccessToken
- Implements
Constructors
SimpleAccessToken(IAzureAccount, String, String) |
Create a new access token from the given account and tenant id |
Fields
_defaultTokenType |
Properties
AccessToken |
The access token to be applied to a request message |
ExtendedProperties |
Extended properties |
HomeAccountId |
Home account id |
LoginType |
The login type for this token |
TenantId |
The tenant Id for this token. |
UserId |
The User Id associated with this token. |
Methods
AuthorizeRequest(Action<String,String>) |
Authorize a request using an authorization setter function. |