class Authlete::Model::Response::DeveloperAuthenticationCallbackResponse
Attributes
Private Instance Methods
Source
# File lib/authlete/model/response/developer-authentication-callback-response.rb, line 37 def defaults { authenticated: false, subject: nil, displayName: nil } end
Source
# File lib/authlete/model/response/developer-authentication-callback-response.rb, line 45 def set_params(hash) @authenticated = hash[:authenticated] @subject = hash[:subject] @displayName = hash[:displayName] end
Source
# File lib/authlete/model/response/developer-authentication-callback-response.rb, line 51 def to_rack_response to_rack_response_json(200, JSON.generate( authenticated: @authenticated, subject: @subject, displayNam: @displayName )) end