Class: JwtCli::Token
- Inherits:
-
Object
- Object
- JwtCli::Token
- Defined in:
- lib/jwt_cli/token.rb
Class Method Summary collapse
Class Method Details
.generate(payload) ⇒ Object
5 6 7 8 |
# File 'lib/jwt_cli/token.rb', line 5 def self.generate(payload) # No password protection JWT.encode(payload, nil, 'none') end |