Class: ServiceStack::ConvertSessionToTokenResponse

Inherits:
Object
  • Object
show all
Includes:
DTO
Defined in:
lib/servicestack/types.rb

Overview

The Response of ConvertSessionToToken.

Instance Attribute Summary collapse

Class Method Summary collapse

Methods included from DTO

#==, included, #initialize, #inspect, #to_hash, #to_json

Instance Attribute Details

#access_tokenObject

Returns the value of attribute access_token.



326
327
328
# File 'lib/servicestack/types.rb', line 326

def access_token
  @access_token
end

#metaObject

Returns the value of attribute meta.



326
327
328
# File 'lib/servicestack/types.rb', line 326

def meta
  @meta
end

#refresh_tokenObject

Returns the value of attribute refresh_token.



326
327
328
# File 'lib/servicestack/types.rb', line 326

def refresh_token
  @refresh_token
end

#response_statusObject

Returns the value of attribute response_status.



326
327
328
# File 'lib/servicestack/types.rb', line 326

def response_status
  @response_status
end

Class Method Details

.propertiesObject



328
329
330
331
332
333
334
335
# File 'lib/servicestack/types.rb', line 328

def self.properties
  {
    access_token: { name: 'accessToken' },
    refresh_token: { name: 'refreshToken' },
    response_status: { name: 'responseStatus', type: ResponseStatus },
    meta: { name: 'meta' },
  }
end