Class: ServiceStack::Authenticate

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

Overview

Authenticate with a ServiceStack Service.

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

#access_tokenObject

Returns the value of attribute access_token.



175
176
177
# File 'lib/servicestack/types.rb', line 175

def access_token
  @access_token
end

#access_token_secretObject

Returns the value of attribute access_token_secret.



175
176
177
# File 'lib/servicestack/types.rb', line 175

def access_token_secret
  @access_token_secret
end

#error_viewObject

Returns the value of attribute error_view.



175
176
177
# File 'lib/servicestack/types.rb', line 175

def error_view
  @error_view
end

#metaObject

Returns the value of attribute meta.



175
176
177
# File 'lib/servicestack/types.rb', line 175

def meta
  @meta
end

#passwordObject

Returns the value of attribute password.



175
176
177
# File 'lib/servicestack/types.rb', line 175

def password
  @password
end

#providerObject

Returns the value of attribute provider.



175
176
177
# File 'lib/servicestack/types.rb', line 175

def provider
  @provider
end

#remember_meObject

Returns the value of attribute remember_me.



175
176
177
# File 'lib/servicestack/types.rb', line 175

def remember_me
  @remember_me
end

#return_urlObject

Returns the value of attribute return_url.



175
176
177
# File 'lib/servicestack/types.rb', line 175

def return_url
  @return_url
end

#user_nameObject

Returns the value of attribute user_name.



175
176
177
# File 'lib/servicestack/types.rb', line 175

def user_name
  @user_name
end

Class Method Details

.propertiesObject



178
179
180
181
182
183
184
185
186
187
188
189
190
# File 'lib/servicestack/types.rb', line 178

def self.properties
  {
    provider: { name: 'provider' },
    user_name: { name: 'userName' },
    password: { name: 'password' },
    remember_me: { name: 'rememberMe' },
    access_token: { name: 'accessToken' },
    access_token_secret: { name: 'accessTokenSecret' },
    return_url: { name: 'returnUrl' },
    error_view: { name: 'errorView' },
    meta: { name: 'meta' },
  }
end

Instance Method Details

#get_methodObject



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

def get_method = 'POST'

#get_type_nameObject



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

def get_type_name = 'Authenticate'

#response_typeObject



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

def response_type = AuthenticateResponse