Class: ServiceStack::Authenticate
- Inherits:
-
Object
- Object
- ServiceStack::Authenticate
- Includes:
- DTO
- Defined in:
- lib/servicestack/types.rb
Overview
Authenticate with a ServiceStack Service.
Instance Attribute Summary collapse
-
#access_token ⇒ Object
Returns the value of attribute access_token.
-
#access_token_secret ⇒ Object
Returns the value of attribute access_token_secret.
-
#error_view ⇒ Object
Returns the value of attribute error_view.
-
#meta ⇒ Object
Returns the value of attribute meta.
-
#password ⇒ Object
Returns the value of attribute password.
-
#provider ⇒ Object
Returns the value of attribute provider.
-
#remember_me ⇒ Object
Returns the value of attribute remember_me.
-
#return_url ⇒ Object
Returns the value of attribute return_url.
-
#user_name ⇒ Object
Returns the value of attribute user_name.
Class Method Summary collapse
Instance Method Summary collapse
Methods included from DTO
#==, included, #initialize, #inspect, #to_hash, #to_json
Instance Attribute Details
#access_token ⇒ Object
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_secret ⇒ Object
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_view ⇒ Object
Returns the value of attribute error_view.
175 176 177 |
# File 'lib/servicestack/types.rb', line 175 def error_view @error_view end |
#meta ⇒ Object
Returns the value of attribute meta.
175 176 177 |
# File 'lib/servicestack/types.rb', line 175 def @meta end |
#password ⇒ Object
Returns the value of attribute password.
175 176 177 |
# File 'lib/servicestack/types.rb', line 175 def password @password end |
#provider ⇒ Object
Returns the value of attribute provider.
175 176 177 |
# File 'lib/servicestack/types.rb', line 175 def provider @provider end |
#remember_me ⇒ Object
Returns the value of attribute remember_me.
175 176 177 |
# File 'lib/servicestack/types.rb', line 175 def remember_me @remember_me end |
#return_url ⇒ Object
Returns the value of attribute return_url.
175 176 177 |
# File 'lib/servicestack/types.rb', line 175 def return_url @return_url end |
#user_name ⇒ Object
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
.properties ⇒ Object
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_method ⇒ Object
194 |
# File 'lib/servicestack/types.rb', line 194 def get_method = 'POST' |
#get_type_name ⇒ Object
193 |
# File 'lib/servicestack/types.rb', line 193 def get_type_name = 'Authenticate' |
#response_type ⇒ Object
192 |
# File 'lib/servicestack/types.rb', line 192 def response_type = AuthenticateResponse |