class Circed::Services::AuthenticationSession

Overview

Authentication state management

Defined in:

circed/services/authentication_service.cr

Constructors

Instance Method Summary

Constructor Detail

def self.new #

[View source]

Instance Method Detail

def attempts : Int32 #

[View source]
def attempts=(attempts : Int32) #

[View source]
def complete? : Bool #

[View source]
def credentials : Core::AuthenticationCredentials | Nil #

[View source]
def credentials=(credentials : Core::AuthenticationCredentials | Nil) #

[View source]
def expired? : Bool #

[View source]
def failed? : Bool #

[View source]
def record_attempt #

[View source]
def started_at : Time #

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

[View source]
def state : AuthenticationState #

[View source]
def state=(state : AuthenticationState) #

[View source]
def too_many_attempts? : Bool #

[View source]