Class: OAuth::ServerToken
- Defined in:
- lib/oauth/tokens/server_token.rb
Overview
Used on the server for generating tokens
Instance Attribute Summary
Attributes inherited from Token
Instance Method Summary collapse
-
#initialize ⇒ ServerToken
constructor
A new instance of ServerToken.
Methods inherited from Token
Methods included from Helper
#escape, #generate_key, #generate_timestamp, #normalize, #parse_header, #stringify_keys, #unescape
Constructor Details
#initialize ⇒ ServerToken
Returns a new instance of ServerToken.
5 6 7 |
# File 'lib/oauth/tokens/server_token.rb', line 5 def initialize super(generate_key(16), generate_key) end |