Class: IBMCloudSdkCore::NoAuthAuthenticator

Inherits:
Authenticator show all
Defined in:
lib/ibm_cloud_sdk_core/authenticators/no_auth_authenticator.rb

Overview

Authenticator

Constant Summary

Constants inherited from Authenticator

Authenticator::AUTH_TYPE_BASIC, Authenticator::AUTH_TYPE_BEARER_TOKEN, Authenticator::AUTH_TYPE_CP4D, Authenticator::AUTH_TYPE_IAM, Authenticator::AUTH_TYPE_NO_AUTH

Instance Method Summary collapse

Constructor Details

#initializeNoAuthAuthenticator

Returns a new instance of NoAuthAuthenticator.



9
10
11
# File 'lib/ibm_cloud_sdk_core/authenticators/no_auth_authenticator.rb', line 9

def initialize
  @authentication_type = AUTH_TYPE_NO_AUTH
end

Instance Method Details

#authenticateObject



13
14
15
# File 'lib/ibm_cloud_sdk_core/authenticators/no_auth_authenticator.rb', line 13

def authenticate(*)
  nil
end

#validateObject



17
18
19
# File 'lib/ibm_cloud_sdk_core/authenticators/no_auth_authenticator.rb', line 17

def validate
  nil
end