class JWT::Validator

Defined in:

jwt/validator.cr

Constructors

Instance Method Summary

Constructor Detail

def self.new(current_time : Time | Nil = nil) #

[View source]

Instance Method Detail

def audience : String | Nil #

[View source]
def audience=(audience : String | Nil) #

[View source]
def current_time : Time #

[View source]
def current_time=(current_time : Time) #

[View source]
def custom(key : String, part : Symbol = :payload, &block : JSON::Type -> Bool) #

[View source]
def issuer : String | Nil #

[View source]
def issuer=(issuer : String | Nil) #

[View source]
def jwt_id : String | Nil #

[View source]
def jwt_id=(jwt_id : String | Nil) #

[View source]
def subject : String | Nil #

[View source]
def subject=(subject : String | Nil) #

[View source]
def validate(token : Token, with_exceptions? : Bool = false) #

[View source]