Class: Gusto::SystemAccessTokenAuth
- Inherits:
-
Object
- Object
- Gusto::SystemAccessTokenAuth
- Defined in:
- lib/fern_gusto.rb
Overview
Authentication configuration for system access token
Instance Attribute Summary collapse
-
#client_id ⇒ String
The client ID for system access token authentication.
-
#client_secret ⇒ String
The client secret for system access token authentication.
-
#type ⇒ Symbol
The type of authentication, always :system_access_token.
Instance Method Summary collapse
-
#initialize(type:, client_id:, client_secret:) ⇒ SystemAccessTokenAuth
constructor
A new instance of SystemAccessTokenAuth.
Constructor Details
#initialize(type:, client_id:, client_secret:) ⇒ SystemAccessTokenAuth
Returns a new instance of SystemAccessTokenAuth.
17 18 19 20 21 |
# File 'lib/fern_gusto.rb', line 17 def initialize(type:, client_id:, client_secret:) @type = type @client_id = client_id @client_secret = client_secret end |
Instance Attribute Details
#client_id ⇒ String
Returns The client ID for system access token authentication.
10 11 12 |
# File 'lib/fern_gusto.rb', line 10 def client_id @client_id end |
#client_secret ⇒ String
Returns The client secret for system access token authentication.
12 13 14 |
# File 'lib/fern_gusto.rb', line 12 def client_secret @client_secret end |
#type ⇒ Symbol
Returns The type of authentication, always :system_access_token.
8 9 10 |
# File 'lib/fern_gusto.rb', line 8 def type @type end |