Class: ServiceStack::GetAccessToken

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

Overview

Exchange a Refresh Token for a new 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.



278
279
280
# File 'lib/servicestack/types.rb', line 278

def meta
  @meta
end

#refresh_tokenObject

Returns the value of attribute refresh_token.



278
279
280
# File 'lib/servicestack/types.rb', line 278

def refresh_token
  @refresh_token
end

Class Method Details

.propertiesObject



280
281
282
283
284
285
# File 'lib/servicestack/types.rb', line 280

def self.properties
  {
    refresh_token: { name: 'refreshToken' },
    meta: { name: 'meta' },
  }
end

Instance Method Details

#get_methodObject



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

def get_method = 'POST'

#get_type_nameObject



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

def get_type_name = 'GetAccessToken'

#response_typeObject



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

def response_type = GetAccessTokenResponse