Class: LeanMicrosoftGraph::Authentication::Credentials

Inherits:
Object
  • Object
show all
Defined in:
lib/lean_microsoft_graph/authentication/credentials.rb

Instance Attribute Summary collapse

Instance Method Summary collapse

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_idObject (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_secretObject (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_idObject (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