Class: WeConnect::Authentication::CarConnectInfo

Inherits:
Object
  • Object
show all
Defined in:
lib/weconnect/authorization.rb

Overview

private

Instance Attribute Summary collapse

Instance Method Summary collapse

Constructor Details

#initializeCarConnectInfo

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_idObject (readonly)

Returns the value of attribute client_id.



40
41
42
# File 'lib/weconnect/authorization.rb', line 40

def client_id
  @client_id
end

#countryObject (readonly)

Returns the value of attribute country.



40
41
42
# File 'lib/weconnect/authorization.rb', line 40

def country
  @country
end

#redirectObject (readonly)

Returns the value of attribute redirect.



40
41
42
# File 'lib/weconnect/authorization.rb', line 40

def redirect
  @redirect
end

#refresh_urlObject (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_typeObject (readonly)

Returns the value of attribute response_type.



40
41
42
# File 'lib/weconnect/authorization.rb', line 40

def response_type
  @response_type
end

#scopeObject (readonly)

Returns the value of attribute scope.



40
41
42
# File 'lib/weconnect/authorization.rb', line 40

def scope
  @scope
end

#typeObject (readonly)

Returns the value of attribute type.



40
41
42
# File 'lib/weconnect/authorization.rb', line 40

def type
  @type
end

#xclient_idObject (readonly)

Returns the value of attribute xclient_id.



40
41
42
# File 'lib/weconnect/authorization.rb', line 40

def xclient_id
  @xclient_id
end

#xrequestObject (readonly)

Returns the value of attribute xrequest.



40
41
42
# File 'lib/weconnect/authorization.rb', line 40

def xrequest
  @xrequest
end