Class: OAuth::ServerToken

Inherits:
Token
  • Object
show all
Defined in:
lib/oauth/tokens/server_token.rb

Overview

Used on the server for generating tokens

Instance Attribute Summary

Attributes inherited from Token

#secret, #token

Instance Method Summary collapse

Methods inherited from Token

#to_query

Methods included from Helper

_escape, escape, generate_key, generate_timestamp, normalize, normalize_nested_query, parse_header, stringify_keys, unescape

Constructor Details

#initializeServerToken

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