Class: OAuth::ServerToken

Inherits:
Token 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, #generate_key, #generate_timestamp, #normalize, #normalize_nested_query, #parse_header, #stringify_keys, #unescape

Constructor Details

#initializeServerToken

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