Class: JSON::JOSE

Inherits:
JWT
  • Object
show all
Includes:
SecureCompare
Defined in:
lib/json/jose.rb

Direct Known Subclasses

JWE, JWS

Instance Attribute Summary

Attributes inherited from JWT

#header, #signature

Instance Method Summary collapse

Methods inherited from JWT

#as_json, decode, decode_compact_serialized, decode_json_serialized, #encrypt, #initialize, register_header_keys, #sign, #to_s, #verify

Constructor Details

This class inherits a constructor from JSON::JWT

Instance Method Details

#content_typeObject



7
8
9
# File 'lib/json/jose.rb', line 7

def content_type
  'application/jose'
end