API Reference Boruta core v1.0.0
Modules
Boruta is the core of an OAuth provider giving business logic of authentication and authorization.
HTTP BasicAuth utilities
This is the cache for the primary storage.
Utilities to access Boruta configuration ad set defaults.
Administration of Boruta resources.
Boruta.Ecto.Client
resource administration.
Boruta.Ecto.Scope
resource administration.
Boruta OAuth entrypoint, handles OAuth requests.
Access token context
OAuth application behaviour
Access token authorization
Client authorization
Code authorization
Resource owner authorization
Scope authorization
Authorization code request
Authorize response
OAuth client schema
Client credentials request
Client context
Code request
Code context
Boruta OAuth errors
OAuth Introspect
Introspect request
Introspect response
Resource owner password credentials request
Refresh token request
Build an oauth request struct from given input.
Oauth resource owner
Resource owner context
OAuth Revoke
Revoke request
Schema defining an independent OAuth scope
Scope context
Token schema. Representing both access tokens and codes.
Behaviour to implement utilities to generate token value. This must be implemented in the module configured as token_generator
set in config.exs
Implicit request
Token response
Utility to validate the request according to the given parameters.
Mix Tasks
Migration task for Boruta.