class

App::AuthlyOwner

Inherits Authly::AuthorizableOwner < Reference < Object

Custom Authorizable Owner implementation

Instance methods

authorized?(username : String, password : String) : String | Nil

Authenticate user by username/password Returns user_id on success, nil on failure

Source
id_token(user_id : String) : Hash(String, String | Int64)

Generate ID token claims for a user

@param user_id - The user's unique identifier @return Hash of claims to include in the ID token

Source