module Authority
Overview
Response Docs https://azutopia.gitbook.io/azu/endpoints/response
Included Modules
- Azu
Defined in:
config/authority.crentities/client_entity.cr
entities/device_code_entity.cr
entities/owner_entitiy.cr
entities/user_session.cr
helpers/session_helper.cr
providers/client_provider.cr
providers/owner_provider.cr
repositories/client_repo.cr
repositories/device_code_repo.cr
repositories/owner_repo.cr
requests/token_info_request.cr
responses/json/access_token_response.cr
responses/json/token_info_response.cr
services/access_token_service.cr
services/authentication_service.cr
services/authorization_code_service.cr
services/device_token_service.cr
services/token_info_service.cr
services/token_introspection_service.cr
validators/confirm_password_validator.cr
Constant Summary
-
ACTIVATE_URL =
"#{BASE_URL}/activate"
-
BASE_URL =
ENV.fetch("BASE_URL", "http://localhost:4000")
-
DEVICE_CODE_TTL =
(ENV.fetch("DEVICE_CODE_TTL", "300")).to_i
-
HANDLERS =
[Azu::Handler::RequestID.new, Azu::Handler::Rescuer.new, Azu::Handler::Logger.new, Session::SessionHandler.new(Authority.session)]
-
SESSION =
Session::CookieStore(UserSession).provider
-
SESSION_KEY =
ENV.fetch("SESSION_KEY", "session_id")