This class holds relevant info re: an ICP4D access token for use by the ICP4DAuthenticator class.
More...
This class holds relevant info re: an ICP4D access token for use by the ICP4DAuthenticator class.
◆ Icp4dToken() [1/2]
IBM.Cloud.SDK.Core.Authentication.Icp4d.Icp4dToken.Icp4dToken |
( |
string |
accessToken | ) |
|
|
inline |
This ctor is used to store a user-managed access token which will never expire.
- Parameters
-
accessToken | the user-managed access token |
◆ Icp4dToken() [2/2]
IBM.Cloud.SDK.Core.Authentication.Icp4d.Icp4dToken.Icp4dToken |
( |
Icp4dTokenResponse |
response | ) |
|
|
inline |
◆ IsTokenValid()
bool IBM.Cloud.SDK.Core.Authentication.Icp4d.Icp4dToken.IsTokenValid |
( |
| ) |
|
|
inline |
◆ AccessToken
string IBM.Cloud.SDK.Core.Authentication.Icp4d.Icp4dToken.AccessToken |
|
getset |
◆ ExpirationTimeInMillis
long IBM.Cloud.SDK.Core.Authentication.Icp4d.Icp4dToken.ExpirationTimeInMillis |
|
getset |
The documentation for this class was generated from the following file: