Class: Lapis::Yggdrasil::Messaging::TokenResponse Abstract

Inherits:
Response
  • Object
show all
Defined in:
lib/lapis/yggdrasil/messaging/token_response.rb

Overview

This class is abstract.

Type of response that includes access and client tokens.

Direct Known Subclasses

AuthenticationResponse, RefreshResponse

Instance Attribute Summary collapse

Attributes inherited from Response

#status

Method Summary

Methods inherited from Response

#ok?

Instance Attribute Details

#access_tokenUuid (readonly)

Unique ID of the authentication session.

Returns:

  • (Uuid)


19
20
21
# File 'lib/lapis/yggdrasil/messaging/token_response.rb', line 19

def access_token
  @access_token
end

#client_tokenUuid (readonly)

Unique ID of the client that performed the authentication.

Returns:

  • (Uuid)


15
16
17
# File 'lib/lapis/yggdrasil/messaging/token_response.rb', line 15

def client_token
  @client_token
end