Module: BRL::Auth

Defined in:
lib/brl_auth.rb,
lib/brl/auth/token.rb,
lib/brl/auth/version.rb,
lib/brl/auth/base_error.rb,
lib/brl/auth/connection.rb,
lib/brl/auth/server_error.rb,
lib/brl/auth/token_service.rb,
lib/brl/auth/unexpected_error.rb,
lib/brl/auth/bad_request_error.rb,
lib/brl/auth/authentication_error.rb,
lib/brl/auth/authenticated_resource.rb,
lib/brl/auth/authenticated_connection.rb,
lib/brl/auth/invalid_credentials_error.rb

Defined Under Namespace

Classes: AuthenticatedConnection, AuthenticatedResource, AuthenticationError, BadRequestError, BaseError, Connection, InvalidCredentialsError, ServerError, Token, TokenService, UnexpectedError

Constant Summary collapse

BASE_URL =
"https://hom.api.acesso.hmra.com.br"
TOKEN_ENDPOINT =
"autorizacao/token"
TOKEN_EXPIRATION =
86_400
VERSION =

When updating version, keep in mind Semantic Versioning semver.org/ TL;DR; (Major.Minor.Patch) Releases before 1.0.0 are in active development and can change anytime 1.0.0 and up is indication and declaration of a stable public API Major - Incremented for incompatible changes with previous release (or big enough new features) Minor - Incremented for new backwards-compatible features + deprecations Patch - Incremented for backwards-compatible bug fixes

"0.1.2"