Class: Spikard::JwtConfig
- Inherits:
-
Object
- Object
- Spikard::JwtConfig
- Defined in:
- sig/types.rbs
Instance Attribute Summary collapse
-
#algorithm ⇒ String
readonly
Returns the value of attribute algorithm.
-
#audience ⇒ Array[String]
readonly
Returns the value of attribute audience.
-
#issuer ⇒ String
readonly
Returns the value of attribute issuer.
-
#leeway ⇒ Integer
readonly
Returns the value of attribute leeway.
-
#secret ⇒ String
readonly
Returns the value of attribute secret.
Instance Method Summary collapse
-
#initialize ⇒ JwtConfig
constructor
A new instance of JwtConfig.
Constructor Details
#initialize ⇒ JwtConfig
Returns a new instance of JwtConfig.
204 |
# File 'sig/types.rbs', line 204
def initialize: (secret: String, algorithm: String, ?audience: Array[String], ?issuer: String, leeway: Integer) -> void
|
Instance Attribute Details
#algorithm ⇒ String (readonly)
Returns the value of attribute algorithm.
199 200 201 |
# File 'sig/types.rbs', line 199 def algorithm @algorithm end |
#audience ⇒ Array[String] (readonly)
Returns the value of attribute audience.
200 201 202 |
# File 'sig/types.rbs', line 200 def audience @audience end |
#issuer ⇒ String (readonly)
Returns the value of attribute issuer.
201 202 203 |
# File 'sig/types.rbs', line 201 def issuer @issuer end |
#leeway ⇒ Integer (readonly)
Returns the value of attribute leeway.
202 203 204 |
# File 'sig/types.rbs', line 202 def leeway @leeway end |
#secret ⇒ String (readonly)
Returns the value of attribute secret.
198 199 200 |
# File 'sig/types.rbs', line 198 def secret @secret end |