Class: WeConnect::Authentication::CarConnectInfo
- Inherits:
-
Object
- Object
- WeConnect::Authentication::CarConnectInfo
- Defined in:
- lib/weconnect/authorization.rb
Overview
private
Instance Attribute Summary collapse
-
#client_id ⇒ Object
readonly
Returns the value of attribute client_id.
-
#country ⇒ Object
readonly
Returns the value of attribute country.
-
#redirect ⇒ Object
readonly
Returns the value of attribute redirect.
-
#refresh_url ⇒ Object
readonly
Returns the value of attribute refresh_url.
-
#response_type ⇒ Object
readonly
Returns the value of attribute response_type.
-
#scope ⇒ Object
readonly
Returns the value of attribute scope.
-
#type ⇒ Object
readonly
Returns the value of attribute type.
-
#xclient_id ⇒ Object
readonly
Returns the value of attribute xclient_id.
-
#xrequest ⇒ Object
readonly
Returns the value of attribute xrequest.
Instance Method Summary collapse
-
#initialize ⇒ CarConnectInfo
constructor
A new instance of CarConnectInfo.
Constructor Details
#initialize ⇒ CarConnectInfo
Returns a new instance of CarConnectInfo.
41 42 43 44 45 46 47 48 49 50 51 52 |
# File 'lib/weconnect/authorization.rb', line 41 def initialize @type = "Id"; @country = "DE"; @xrequest = "com.volkswagen.weconnect"; @xclientId = ""; @client_id = "a24fba63-34b3-4d43-b181-942111e6bda8@apps_vw-dilab_com"; @scope = "openid profile badge cars dealers vin"; @response_type = "code id_token token"; @redirect = "weconnect://authenticated"; @refresh_url='https://identity.vwgroup.io/oidc/v1/token' end |
Instance Attribute Details
#client_id ⇒ Object (readonly)
Returns the value of attribute client_id.
40 41 42 |
# File 'lib/weconnect/authorization.rb', line 40 def client_id @client_id end |
#country ⇒ Object (readonly)
Returns the value of attribute country.
40 41 42 |
# File 'lib/weconnect/authorization.rb', line 40 def country @country end |
#redirect ⇒ Object (readonly)
Returns the value of attribute redirect.
40 41 42 |
# File 'lib/weconnect/authorization.rb', line 40 def redirect @redirect end |
#refresh_url ⇒ Object (readonly)
Returns the value of attribute refresh_url.
40 41 42 |
# File 'lib/weconnect/authorization.rb', line 40 def refresh_url @refresh_url end |
#response_type ⇒ Object (readonly)
Returns the value of attribute response_type.
40 41 42 |
# File 'lib/weconnect/authorization.rb', line 40 def response_type @response_type end |
#scope ⇒ Object (readonly)
Returns the value of attribute scope.
40 41 42 |
# File 'lib/weconnect/authorization.rb', line 40 def scope @scope end |
#type ⇒ Object (readonly)
Returns the value of attribute type.
40 41 42 |
# File 'lib/weconnect/authorization.rb', line 40 def type @type end |
#xclient_id ⇒ Object (readonly)
Returns the value of attribute xclient_id.
40 41 42 |
# File 'lib/weconnect/authorization.rb', line 40 def xclient_id @xclient_id end |
#xrequest ⇒ Object (readonly)
Returns the value of attribute xrequest.
40 41 42 |
# File 'lib/weconnect/authorization.rb', line 40 def xrequest @xrequest end |