Class: IBMCloudSdkCore::NoAuthAuthenticator
- Inherits:
-
Authenticator
- Object
- Authenticator
- IBMCloudSdkCore::NoAuthAuthenticator
- 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
- #authenticate ⇒ Object
-
#initialize ⇒ NoAuthAuthenticator
constructor
A new instance of NoAuthAuthenticator.
- #validate ⇒ Object
Constructor Details
#initialize ⇒ NoAuthAuthenticator
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
#authenticate ⇒ Object
13 14 15 |
# File 'lib/ibm_cloud_sdk_core/authenticators/no_auth_authenticator.rb', line 13 def authenticate(*) nil end |
#validate ⇒ Object
17 18 19 |
# File 'lib/ibm_cloud_sdk_core/authenticators/no_auth_authenticator.rb', line 17 def validate nil end |