Class: ServiceStack::AuthenticateResponse
- Inherits:
-
Object
- Object
- ServiceStack::AuthenticateResponse
- Includes:
- DTO
- Defined in:
- lib/servicestack/types.rb
Overview
The Response of a successful Authenticate Request.
Instance Attribute Summary collapse
-
#auth_provider ⇒ Object
Returns the value of attribute auth_provider.
-
#bearer_token ⇒ Object
Returns the value of attribute bearer_token.
-
#display_name ⇒ Object
Returns the value of attribute display_name.
-
#meta ⇒ Object
Returns the value of attribute meta.
-
#permissions ⇒ Object
Returns the value of attribute permissions.
-
#profile_url ⇒ Object
Returns the value of attribute profile_url.
-
#referrer_url ⇒ Object
Returns the value of attribute referrer_url.
-
#refresh_token ⇒ Object
Returns the value of attribute refresh_token.
-
#refresh_token_expiry ⇒ Object
Returns the value of attribute refresh_token_expiry.
-
#response_status ⇒ Object
Returns the value of attribute response_status.
-
#roles ⇒ Object
Returns the value of attribute roles.
-
#session_id ⇒ Object
Returns the value of attribute session_id.
-
#user_id ⇒ Object
Returns the value of attribute user_id.
-
#user_name ⇒ Object
Returns the value of attribute user_name.
Class Method Summary collapse
Methods included from DTO
#==, included, #initialize, #inspect, #to_hash, #to_json
Instance Attribute Details
#auth_provider ⇒ Object
Returns the value of attribute auth_provider.
200 201 202 |
# File 'lib/servicestack/types.rb', line 200 def auth_provider @auth_provider end |
#bearer_token ⇒ Object
Returns the value of attribute bearer_token.
200 201 202 |
# File 'lib/servicestack/types.rb', line 200 def bearer_token @bearer_token end |
#display_name ⇒ Object
Returns the value of attribute display_name.
200 201 202 |
# File 'lib/servicestack/types.rb', line 200 def display_name @display_name end |
#meta ⇒ Object
Returns the value of attribute meta.
200 201 202 |
# File 'lib/servicestack/types.rb', line 200 def @meta end |
#permissions ⇒ Object
Returns the value of attribute permissions.
200 201 202 |
# File 'lib/servicestack/types.rb', line 200 def @permissions end |
#profile_url ⇒ Object
Returns the value of attribute profile_url.
200 201 202 |
# File 'lib/servicestack/types.rb', line 200 def profile_url @profile_url end |
#referrer_url ⇒ Object
Returns the value of attribute referrer_url.
200 201 202 |
# File 'lib/servicestack/types.rb', line 200 def referrer_url @referrer_url end |
#refresh_token ⇒ Object
Returns the value of attribute refresh_token.
200 201 202 |
# File 'lib/servicestack/types.rb', line 200 def refresh_token @refresh_token end |
#refresh_token_expiry ⇒ Object
Returns the value of attribute refresh_token_expiry.
200 201 202 |
# File 'lib/servicestack/types.rb', line 200 def refresh_token_expiry @refresh_token_expiry end |
#response_status ⇒ Object
Returns the value of attribute response_status.
200 201 202 |
# File 'lib/servicestack/types.rb', line 200 def response_status @response_status end |
#roles ⇒ Object
Returns the value of attribute roles.
200 201 202 |
# File 'lib/servicestack/types.rb', line 200 def roles @roles end |
#session_id ⇒ Object
Returns the value of attribute session_id.
200 201 202 |
# File 'lib/servicestack/types.rb', line 200 def session_id @session_id end |
#user_id ⇒ Object
Returns the value of attribute user_id.
200 201 202 |
# File 'lib/servicestack/types.rb', line 200 def user_id @user_id end |
#user_name ⇒ Object
Returns the value of attribute user_name.
200 201 202 |
# File 'lib/servicestack/types.rb', line 200 def user_name @user_name end |
Class Method Details
.properties ⇒ Object
204 205 206 207 208 209 210 211 212 213 214 215 216 217 218 219 220 221 |
# File 'lib/servicestack/types.rb', line 204 def self.properties { user_id: { name: 'userId' }, session_id: { name: 'sessionId' }, user_name: { name: 'userName' }, display_name: { name: 'displayName' }, referrer_url: { name: 'referrerUrl' }, bearer_token: { name: 'bearerToken' }, refresh_token: { name: 'refreshToken' }, refresh_token_expiry: { name: 'refreshTokenExpiry', type: DateTime }, profile_url: { name: 'profileUrl' }, roles: { name: 'roles' }, permissions: { name: 'permissions' }, auth_provider: { name: 'authProvider' }, response_status: { name: 'responseStatus', type: ResponseStatus }, meta: { name: 'meta' }, } end |