Module: Onlyoffice::DocsIntegrationSdk::JwtEncoding Abstract
- Extended by:
- T::Helpers, T::Sig
- Included in:
- JwtCoding
- Defined in:
- lib/onlyoffice/docs_integration_sdk/jwt.rb
Overview
This module is abstract.
Subclasses must implement the abstract methods below.
JwtEncoding is an interface that describes methods that must be implemented to be considered a JWT encoder.
Instance Method Summary collapse
-
#encode(p) ⇒ String
abstract
An encoded token.
-
#encode_body(p) ⇒ Hash{T.untyped => T.untyped}
abstract
An encoded body.
-
#encode_header(p) ⇒ String
abstract
An encoded header.
-
#encode_uri(u) ⇒ URI::HTTP
abstract
An encoded URI.
Instance Method Details
#encode(p) ⇒ String
This method is abstract.
Returns An encoded token.
58 |
# File 'lib/onlyoffice/docs_integration_sdk/jwt.rb', line 58 def encode(p); end |
#encode_body(p) ⇒ Hash{T.untyped => T.untyped}
This method is abstract.
Returns An encoded body.
52 |
# File 'lib/onlyoffice/docs_integration_sdk/jwt.rb', line 52 def encode_body(p); end |
#encode_header(p) ⇒ String
This method is abstract.
Returns An encoded header.
46 |
# File 'lib/onlyoffice/docs_integration_sdk/jwt.rb', line 46 def encode_header(p); end |
#encode_uri(u) ⇒ URI::HTTP
This method is abstract.
Returns An encoded URI.
40 |
# File 'lib/onlyoffice/docs_integration_sdk/jwt.rb', line 40 def encode_uri(u); end |