你当前正在访问 Microsoft Azure Global Edition 技术文档网站。 如果需要访问由世纪互联运营的 Microsoft Azure 中国技术文档网站,请访问 https://docs.azure.cn。
TokenCacheItemProvider.GetTokenFromTokenCache 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.
Overloads
GetTokenFromTokenCache(TokenCache, String) | |
GetTokenFromTokenCache(TokenCache, String, String) |
GetTokenFromTokenCache(TokenCache, String)
public string GetTokenFromTokenCache (Microsoft.IdentityModel.Clients.ActiveDirectory.TokenCache tokenCache, string uniqueId);
abstract member GetTokenFromTokenCache : Microsoft.IdentityModel.Clients.ActiveDirectory.TokenCache * string -> string
override this.GetTokenFromTokenCache : Microsoft.IdentityModel.Clients.ActiveDirectory.TokenCache * string -> string
Public Function GetTokenFromTokenCache (tokenCache As TokenCache, uniqueId As String) As String
Parameters
- tokenCache
- Microsoft.IdentityModel.Clients.ActiveDirectory.TokenCache
- uniqueId
- String
Returns
Implements
Applies to
GetTokenFromTokenCache(TokenCache, String, String)
public string GetTokenFromTokenCache (Microsoft.IdentityModel.Clients.ActiveDirectory.TokenCache tokenCache, string uniqueId, string environmentName);
abstract member GetTokenFromTokenCache : Microsoft.IdentityModel.Clients.ActiveDirectory.TokenCache * string * string -> string
override this.GetTokenFromTokenCache : Microsoft.IdentityModel.Clients.ActiveDirectory.TokenCache * string * string -> string
Public Function GetTokenFromTokenCache (tokenCache As TokenCache, uniqueId As String, environmentName As String) As String
Parameters
- tokenCache
- Microsoft.IdentityModel.Clients.ActiveDirectory.TokenCache
- uniqueId
- String
- environmentName
- String