你当前正在访问 Microsoft Azure Global Edition 技术文档网站。 如果需要访问由世纪互联运营的 Microsoft Azure 中国技术文档网站,请访问 https://docs.azure.cn。
OAuthUtil 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.
public static class OAuthUtil
type OAuthUtil = class
Public Class OAuthUtil
- Inheritance
-
OAuthUtil
Fields
StorageOAuthEndpointResourceKey |
The extension key to use for the storage token audience value |
StorageOAuthEndpointResourceValue |
Default resourceId for storage OAuth tokens |
Methods
CreateOAuthToken(IAzureContext) |
Create a OAuth Token |
EnsureStorageOAuthAudienceSet(IAzureEnvironment) | |
getTokenCredential(IAzureContext, DebugLogWriter) | |
GetTokenRenewer(IAccessToken, DebugLogWriter) | |
GetTokenStrFromAccessToken(IAccessToken, DebugLogWriter) |
Get the token string from the accesstoken |