Class: Vcert::TokenInfo

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

Instance Attribute Summary collapse

Instance Method Summary collapse

Constructor Details

#initialize(access_token, expires, identity, refresh_token, refresh_until, scope, token_type) ⇒ TokenInfo

Returns a new instance of TokenInfo.



137
138
139
140
141
142
143
144
145
# File 'lib/utils/utils.rb', line 137

def initialize (access_token, expires, identity, refresh_token, refresh_until, scope, token_type)
  @access_token = access_token
  @refresh_token = refresh_token
  @refresh_until = refresh_until
  @expires = expires
  @identity = identity
  @scope = scope
  @token_type = token_type
end

Instance Attribute Details

#access_tokenObject (readonly)

Returns the value of attribute access_token.



135
136
137
# File 'lib/utils/utils.rb', line 135

def access_token
  @access_token
end

#expiresObject (readonly)

Returns the value of attribute expires.



135
136
137
# File 'lib/utils/utils.rb', line 135

def expires
  @expires
end

#identityObject (readonly)

Returns the value of attribute identity.



135
136
137
# File 'lib/utils/utils.rb', line 135

def identity
  @identity
end

#refresh_tokenObject (readonly)

Returns the value of attribute refresh_token.



135
136
137
# File 'lib/utils/utils.rb', line 135

def refresh_token
  @refresh_token
end

#refresh_untilObject (readonly)

Returns the value of attribute refresh_until.



135
136
137
# File 'lib/utils/utils.rb', line 135

def refresh_until
  @refresh_until
end

#scopeObject (readonly)

Returns the value of attribute scope.



135
136
137
# File 'lib/utils/utils.rb', line 135

def scope
  @scope
end

#token_typeObject (readonly)

Returns the value of attribute token_type.



135
136
137
# File 'lib/utils/utils.rb', line 135

def token_type
  @token_type
end