Boruta core v0.1.0-rc.5 Boruta.Oauth.AccessTokens behaviour View Source
Access token context
Link to this section Summary
Link to this section Callbacks
Link to this callback
create(params, options)
View Sourcecreate( params :: %{ :client => Boruta.Oauth.Client.t(), optional(:resource_owner) => struct(), :scope => String.t(), optional(:state) => String.t() }, options :: [{:refresh_token, boolean()}] ) :: token :: Boruta.Oauth.Token.t() | {:error, Ecto.Changeset.t()}
Link to this callback
get_by(arg1)
View Sourceget_by([{:value, String.t()}] | [{:refresh_token, String.t()}]) :: token :: Boruta.Oauth.Token.t() | nil