Class: LeanMicrosoftGraph::Authentication::Credentials
- Inherits:
-
Object
- Object
- LeanMicrosoftGraph::Authentication::Credentials
- Defined in:
- lib/lean_microsoft_graph/authentication/credentials.rb
Instance Attribute Summary collapse
-
#client_id ⇒ Object
readonly
Returns the value of attribute client_id.
-
#client_secret ⇒ Object
readonly
Returns the value of attribute client_secret.
-
#tenant_id ⇒ Object
readonly
Returns the value of attribute tenant_id.
Instance Method Summary collapse
-
#initialize(tenant_id, client_id, client_secret) ⇒ Credentials
constructor
A new instance of Credentials.
Constructor Details
#initialize(tenant_id, client_id, client_secret) ⇒ Credentials
Returns a new instance of Credentials.
8 9 10 11 12 |
# File 'lib/lean_microsoft_graph/authentication/credentials.rb', line 8 def initialize(tenant_id, client_id, client_secret) @tenant_id = tenant_id @client_id = client_id @client_secret = client_secret end |
Instance Attribute Details
#client_id ⇒ Object (readonly)
Returns the value of attribute client_id.
6 7 8 |
# File 'lib/lean_microsoft_graph/authentication/credentials.rb', line 6 def client_id @client_id end |
#client_secret ⇒ Object (readonly)
Returns the value of attribute client_secret.
6 7 8 |
# File 'lib/lean_microsoft_graph/authentication/credentials.rb', line 6 def client_secret @client_secret end |
#tenant_id ⇒ Object (readonly)
Returns the value of attribute tenant_id.
6 7 8 |
# File 'lib/lean_microsoft_graph/authentication/credentials.rb', line 6 def tenant_id @tenant_id end |