Class: OpenidToken

Inherits:
AccessToken show all
Defined in:
lib/passport/openid/tokens/openid_token.rb

Direct Known Subclasses

MyOpenidToken

Instance Attribute Summary

Attributes inherited from AccessToken

#key, #secret, #token

Instance Method Summary collapse

Methods inherited from AccessToken

#initialize, #to_hash

Constructor Details

This class inherits a constructor from AccessToken

Instance Method Details

#format_identifierObject



5
6
7
# File 'lib/passport/openid/tokens/openid_token.rb', line 5

def format_identifier
  self.key = self.key.to_s.normalize_identifier unless self.key.blank?
end