Class: IBMCloudSdkCore::Authenticator

Inherits:
Object
  • Object
show all
Defined in:
lib/ibm_cloud_sdk_core/authenticators/authenticator.rb

Overview

Authenticator

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

#authenticateObject



14
15
16
# File 'lib/ibm_cloud_sdk_core/authenticators/authenticator.rb', line 14

def authenticate
  # Adds the Authorization header, if possible
end

#validateObject



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