Class: Inferno::DSL::OAuthCredentials
- Inherits:
-
Object
- Object
- Inferno::DSL::OAuthCredentials
- Defined in:
- lib/inferno/dsl/oauth_credentials.rb
Overview
OAuthCredentials provide a user with a single input which allows a fhir client to use a bearer token and automatically refresh the token when it expires.
Constant Summary collapse
- ATTRIBUTES =
[ :access_token, :refresh_token, :token_url, :client_id, :client_secret, :token_retrieval_time, :expires_in, :name ].freeze
Instance Attribute Summary collapse
-
#access_token ⇒ Object
-
#client ⇒ Object
Returns the value of attribute client.
-
#client_id ⇒ Object
-
#client_secret ⇒ Object
-
#expires_in ⇒ Object
-
#name ⇒ Object
-
#refresh_token ⇒ Object
-
#token_retrieval_time ⇒ Object
-
#token_url ⇒ Object
Instance Attribute Details
#access_token ⇒ Object
|
# File 'lib/inferno/dsl/oauth_credentials.rb', line 24
|
#client ⇒ Object
Returns the value of attribute client.
22 23 24 |
# File 'lib/inferno/dsl/oauth_credentials.rb', line 22 def client @client end |
#client_id ⇒ Object
|
# File 'lib/inferno/dsl/oauth_credentials.rb', line 24
|
#client_secret ⇒ Object
|
# File 'lib/inferno/dsl/oauth_credentials.rb', line 24
|
#expires_in ⇒ Object
|
# File 'lib/inferno/dsl/oauth_credentials.rb', line 24
|
#name ⇒ Object
|
# File 'lib/inferno/dsl/oauth_credentials.rb', line 24
|
#refresh_token ⇒ Object
|
# File 'lib/inferno/dsl/oauth_credentials.rb', line 24
|
#token_retrieval_time ⇒ Object
|
# File 'lib/inferno/dsl/oauth_credentials.rb', line 24
|
#token_url ⇒ Object
|
# File 'lib/inferno/dsl/oauth_credentials.rb', line 24
|