Class: IBMCloudSdkCore::Authenticator
- Inherits:
-
Object
- Object
- IBMCloudSdkCore::Authenticator
- Defined in:
- lib/ibm_cloud_sdk_core/authenticators/authenticator.rb
Overview
Authenticator
Direct Known Subclasses
BasicAuthenticator, BearerTokenAuthenticator, CloudPakForDataAuthenticator, ConfigBasedAuthenticatorFactory, IamAuthenticator, NoAuthAuthenticator
Constant Summary collapse
- AUTH_TYPE_BASIC =
"basic"
- AUTH_TYPE_BEARER_TOKEN =
"bearerToken"
- AUTH_TYPE_CP4D =
"cp4d"
- AUTH_TYPE_IAM =
"iam"
- AUTH_TYPE_NO_AUTH =
"noAuth"
Instance Method Summary collapse
Instance Method Details
#authenticate ⇒ Object
14 15 16 |
# File 'lib/ibm_cloud_sdk_core/authenticators/authenticator.rb', line 14 def authenticate # Adds the Authorization header, if possible end |
#validate ⇒ Object
18 19 20 |
# File 'lib/ibm_cloud_sdk_core/authenticators/authenticator.rb', line 18 def validate # Checks if all the inputs needed are present end |