Boruta.Oauth.ResourceOwners behaviour (Boruta core v0.2.1) View Source

Resource owner context

Link to this section Summary

Link to this section Callbacks

Link to this callback

authorized_scopes(resource_owner)

View Source

Specs

authorized_scopes(resource_owner :: struct()) :: [Boruta.Oauth.Scope.t()]

Specs

get_by(username: String.t(), password: String.t()) ::
  resource_owner :: struct() | nil
Link to this callback

persisted?(resource_owner)

View Source

Specs

persisted?(resource_owner :: struct()) :: boolean()