Boruta core v0.1.0-rc.5 Boruta.Oauth.ResourceOwners behaviour 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
authorized_scopes(resource_owner :: struct()) :: [Boruta.Oauth.Scope.t()]
Link to this callback

get_by(list)

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

persisted?(resource_owner)

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