class Authlete::Model::Response::UserInfoResponse

Attributes

action[RW]
claims[RW]
clientId[RW]
clientIdAlias[RW]
clientIdAliasUsed[RW]
client_id[RW]
client_id=[RW]
client_id_alias[RW]
client_id_alias=[RW]
client_id_alias_used[RW]
client_id_alias_used=[RW]
properties[RW]
responseContent[RW]
response_content[RW]
response_content=[RW]
scopes[RW]
subject[RW]
token[RW]
userInfoClaims[RW]
user_info_claims[RW]
user_info_claims=[RW]

Private Instance Methods

defaults() click to toggle source
Calls superclass method Authlete::Model::Result#defaults
# File lib/authlete/model/response/user-info-response.rb, line 57
def defaults
  super.merge(
    action:            nil,
    clientId:          0,
    subject:           nil,
    scopes:            nil,
    claims:            nil,
    token:             nil,
    responseContent:   nil,
    properties:        nil,
    clientIdAlias:     nil,
    clientIdAliasUsed: false,
    userInfoClaims:    nil
  )
end
set_params(hash) click to toggle source
Calls superclass method Authlete::Model::Result#set_params
# File lib/authlete/model/response/user-info-response.rb, line 73
def set_params(hash)
  super(hash)

  @action            = hash[:action]
  @clientId          = hash[:clientId]
  @subject           = hash[:subject]
  @scopes            = hash[:scopes]
  @claims            = hash[:claims]
  @token             = hash[:token]
  @responseContent   = hash[:responseContent]
  @properties        = get_parsed_array(hash[:properties]) { |e| Authlete::Model::Property.parse(e) }
  @clientIdAlias     = hash[:clientIdAlias]
  @clientIdAliasUsed = hash[:clientIdAliasUsed]
  @userInfoClaims    = hash[:userInfoClaims]
end