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

Client context

Link to this section Summary

Link to this section Callbacks

Link to this callback

authorized_scopes(client)

View Source

Specs

authorized_scopes(client :: Boruta.Oauth.Client.t()) :: [Boruta.Oauth.Scope.t()]

Specs

get_by(
  [id: id :: String.t(), secret: String.t()]
  | [id: id :: String.t(), redirect_uri: String.t()]
) :: client :: Boruta.Oauth.Client.t() | nil