IBM Cloud SDK Core  0.8.0
The IBM.Cloud.SDK.Core is a core project of SDKs generated using the IBM OpenAPI SDK generator.
IBM.Cloud.SDK.Core.Authentication.Icp4d.Icp4dToken Class Reference

This class holds relevant info re: an ICP4D access token for use by the ICP4DAuthenticator class. More...

Public Member Functions

 Icp4dToken (string accessToken)
 This ctor is used to store a user-managed access token which will never expire. More...
 
 Icp4dToken (Icp4dTokenResponse response)
 
bool IsTokenValid ()
 

Properties

string AccessToken [get, set]
 
long ExpirationTimeInMillis [get, set]
 

Detailed Description

This class holds relevant info re: an ICP4D access token for use by the ICP4DAuthenticator class.

Constructor & Destructor Documentation

◆ 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
accessTokenthe user-managed access token

◆ Icp4dToken() [2/2]

IBM.Cloud.SDK.Core.Authentication.Icp4d.Icp4dToken.Icp4dToken ( Icp4dTokenResponse  response)
inline

Member Function Documentation

◆ IsTokenValid()

bool IBM.Cloud.SDK.Core.Authentication.Icp4d.Icp4dToken.IsTokenValid ( )
inline

Property Documentation

◆ 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: