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.
220 |
# File 'sig/types.rbs', line 220
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.
215 216 217 |
# File 'sig/types.rbs', line 215 def algorithm @algorithm end |
#audience ⇒ Array[String] (readonly)
Returns the value of attribute audience.
216 217 218 |
# File 'sig/types.rbs', line 216 def audience @audience end |
#issuer ⇒ String (readonly)
Returns the value of attribute issuer.
217 218 219 |
# File 'sig/types.rbs', line 217 def issuer @issuer end |
#leeway ⇒ Integer (readonly)
Returns the value of attribute leeway.
218 219 220 |
# File 'sig/types.rbs', line 218 def leeway @leeway end |
#secret ⇒ String (readonly)
Returns the value of attribute secret.
214 215 216 |
# File 'sig/types.rbs', line 214 def secret @secret end |