Class: JWT::Encode
- Inherits:
-
Object
- Object
- JWT::Encode
- Defined in:
- lib/jwt/encode.rb
Overview
Encoding logic for JWT
Instance Method Summary collapse
-
#initialize(options) ⇒ Encode
constructor
A new instance of Encode.
- #segments ⇒ Object
Constructor Details
Instance Method Details
#segments ⇒ Object
16 17 18 19 |
# File 'lib/jwt/encode.rb', line 16 def segments validate_claims! combine(encoded_header_and_payload, encoded_signature) end |