Module: Neoway::Auth
- Defined in:
- lib/neoway_auth.rb,
lib/neoway/auth/result.rb,
lib/neoway/auth/version.rb,
lib/neoway/auth/base_error.rb,
lib/neoway/auth/connection.rb,
lib/neoway/auth/server_error.rb,
lib/neoway/auth/authentication.rb,
lib/neoway/auth/unexpected_error.rb,
lib/neoway/auth/bad_request_error.rb,
lib/neoway/auth/authentication_error.rb,
lib/neoway/auth/authenticated_resource.rb,
lib/neoway/auth/authenticated_connection.rb,
lib/neoway/auth/invalid_credentials_error.rb
Defined Under Namespace
Classes: AuthenticatedConnection, AuthenticatedResource, Authentication, AuthenticationError, BadRequestError, BaseError, Connection, InvalidCredentialsError, Result, ServerError, UnexpectedError
Constant Summary collapse
- TOKEN_EXPIRATION =
60_000
- AUTH_ENDPOINT =
"auth/token"
- 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
File.read(".version").strip