Class: ServiceStack::ConvertSessionToToken

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

Overview

Convert an authenticated Session into a JWT Bearer Token.

Instance Attribute Summary collapse

Class Method Summary collapse

Instance Method Summary collapse

Methods included from DTO

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

Instance Attribute Details

#metaObject

Returns the value of attribute meta.



309
310
311
# File 'lib/servicestack/types.rb', line 309

def meta
  @meta
end

#preserve_sessionObject

Returns the value of attribute preserve_session.



309
310
311
# File 'lib/servicestack/types.rb', line 309

def preserve_session
  @preserve_session
end

Class Method Details

.propertiesObject



311
312
313
314
315
316
# File 'lib/servicestack/types.rb', line 311

def self.properties
  {
    preserve_session: { name: 'preserveSession' },
    meta: { name: 'meta' },
  }
end

Instance Method Details

#get_methodObject



320
# File 'lib/servicestack/types.rb', line 320

def get_method = 'POST'

#get_type_nameObject



319
# File 'lib/servicestack/types.rb', line 319

def get_type_name = 'ConvertSessionToToken'

#response_typeObject



318
# File 'lib/servicestack/types.rb', line 318

def response_type = ConvertSessionToTokenResponse