Class for holding and keeping access token for the IDP server alive.
More...
|
void | Dispose () |
| Dispose internal resources.
|
|
string | GetClaimValue (string key) |
| Gets the claim corresponding to the given key.
|
|
bool | IsTokenExpired () |
| Tells whether the token has expired.
|
|
| MipTokenCache (Uri address) |
| Mip token cache handles caching and prefetch of token for default Windows user.
|
|
| MipTokenCache (Uri address, NetworkCredential networkCredential, bool isBasicUser) |
| Mip token cache handles caching and prefetch of token for Windows and Basic user.
|
|
| MipTokenCache (Uri address, string clientId, string scope, string secret) |
| Mip token cache handles caching and prefetch of token from authorization server.
|
|
|
virtual void | Dispose (bool disposing) |
| Dispose internal resources.
|
|
|
string | Token [get] |
| Gets the current token.
|
|
Class for holding and keeping access token for the IDP server alive.
◆ MipTokenCache() [1/3]
VideoOS.Platform.SDK.OAuth.MipTokenCache.MipTokenCache |
( |
Uri | address | ) |
|
|
inline |
Mip token cache handles caching and prefetch of token for default Windows user.
- Parameters
-
address | Address of the identity server |
◆ MipTokenCache() [2/3]
VideoOS.Platform.SDK.OAuth.MipTokenCache.MipTokenCache |
( |
Uri | address, |
|
|
NetworkCredential | networkCredential, |
|
|
bool | isBasicUser ) |
|
inline |
Mip token cache handles caching and prefetch of token for Windows and Basic user.
- Parameters
-
address | Address of the identity server |
networkCredential | |
isBasicUser | |
◆ MipTokenCache() [3/3]
VideoOS.Platform.SDK.OAuth.MipTokenCache.MipTokenCache |
( |
Uri | address, |
|
|
string | clientId, |
|
|
string | scope, |
|
|
string | secret ) |
|
inline |
Mip token cache handles caching and prefetch of token from authorization server.
- Parameters
-
address | Address of the identity server |
clientId | The client id used to identify against the identity server |
scope | The scope of the service which we do request against |
secret | The secret shared between client and server used to authenticate against identity server. |
◆ Dispose() [1/2]
void VideoOS.Platform.SDK.OAuth.MipTokenCache.Dispose |
( |
| ) |
|
|
inline |
Dispose internal resources.
◆ Dispose() [2/2]
virtual void VideoOS.Platform.SDK.OAuth.MipTokenCache.Dispose |
( |
bool | disposing | ) |
|
|
inlineprotectedvirtual |
Dispose internal resources.
◆ GetClaimValue()
string VideoOS.Platform.SDK.OAuth.MipTokenCache.GetClaimValue |
( |
string | key | ) |
|
|
inline |
Gets the claim corresponding to the given key.
- Parameters
-
- Returns
◆ IsTokenExpired()
bool VideoOS.Platform.SDK.OAuth.MipTokenCache.IsTokenExpired |
( |
| ) |
|
|
inline |
Tells whether the token has expired.
- Returns
◆ Token
string VideoOS.Platform.SDK.OAuth.MipTokenCache.Token |
|
get |