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, escape, generate_key, generate_timestamp, normalize, normalize_nested_query, parse_header, stringify_keys, unescape
Constructor Details
#initialize ⇒ ServerToken
Returns a new instance of ServerToken.
6 7 8 |
# File 'lib/oauth/tokens/server_token.rb', line 6 def initialize super(generate_key(16), generate_key) end |