byauth_client v0.1.0 Byauth.Client.Api.Owner
API calls for all endpoints tagged Owner
.
Link to this section Summary
Functions
Get current user
Link to this section Functions
Link to this function
get_current_user(connection, opts \\ [])
get_current_user(Tesla.Env.client(), keyword()) :: {:ok, Byauth.Client.Model.User.t()} | {:error, Tesla.Env.t()}
Get current user
Parameters
- connection (Byauth.Client.Connection): Connection to server
- opts (KeywordList): [optional] Optional parameters
Returns
{:ok, %Byauth.Client.Model.User{}} on success {:error, info} on failure