class Circed::Services::AuthenticationManager

Overview

Authentication manager for handling ongoing sessions

Defined in:

circed/services/authentication_service.cr

Constructors

Instance Method Summary

Constructor Detail

def self.new(service : AuthenticationService) #

[View source]

Instance Method Detail

def cleanup_expired_sessions #

[View source]
def complete_authentication(identifier : String, credentials : Core::AuthenticationCredentials) : Core::AuthenticationResult #

[View source]
def get_session(identifier : String) : AuthenticationSession | Nil #

[View source]
def start_session(identifier : String) : AuthenticationSession #

[View source]