Auth (0.0.0)

Download OpenAPI specification:

Approve a auth request

Authorizations:
ApiKeyAuth
Request Body schema: application/json
required
client_id
required
string
scope
required
string

Responses

Request samples

Content type
application/json
{
  • "client_id": "string",
  • "scope": "string"
}

Response samples

Content type
application/json
{
  • "error": "invalid_client",
  • "error_description": "string"
}

Get all approvals

Authorizations:
ApiKeyAuth

Responses

Response samples

Content type
application/json
{
  • "approvals": [
    ]
}

Delete an approval

Authorizations:
ApiKeyAuth
path Parameters
id
required
integer <int64>

Responses

Response samples

Content type
application/json
{
  • "error": "string"
}

Get all clients

Authorizations:
ApiKeyAuth

Responses

Response samples

Content type
application/json
{
  • "clients": [
    ]
}

Create a new client

Authorizations:
ApiKeyAuth
Request Body schema: application/json
required
required
object (Account.Clients.CreateClientReq)

Responses

Request samples

Content type
application/json
{
  • "client": {
    }
}

Response samples

Content type
application/json
{
  • "client": {
    }
}

Get a client

Authorizations:
ApiKeyAuth
path Parameters
id
required
string

Responses

Response samples

Content type
application/json
{
  • "client": {
    }
}

Update a client

Authorizations:
ApiKeyAuth
path Parameters
id
required
string
Request Body schema: application/json
required
required
object (Account.Clients.UpdateClientReq)

Responses

Request samples

Content type
application/json
{
  • "client": {
    }
}

Response samples

Content type
application/json
{
  • "error": "string"
}

Delete a client

Authorizations:
ApiKeyAuth
path Parameters
id
required
string

Responses

Response samples

Content type
application/json
{
  • "error": "string"
}

Get a client

path Parameters
id
required
string

Responses

Response samples

Content type
application/json
{
  • "client": {
    }
}

Check health

Responses

Authorization Request

query Parameters
response_type
required
string (OAuth.AuthorizeResponseType)
Value: "code"
client_id
required
string
redirect_uri
required
string
scope
required
string
state
string
max_age
integer <int32>

Responses

Response samples

Content type
application/json
{
  • "error": "invalid_request",
  • "error_description": "string",
  • "state": "string"
}

Authorization Request

Request Body schema: multipart/form-data
required
response_type
required
string (OAuth.AuthorizeResponseType)
Value: "code"
client_id
required
string
redirect_uri
required
string
scope
required
string
state
string
max_age
integer <int32>

Responses

Response samples

Content type
application/json
{
  • "error": "invalid_request",
  • "error_description": "string",
  • "state": "string"
}

Get JSON Web Key Set

Responses

Response samples

Content type
application/json
{
  • "property1": null,
  • "property2": null
}

Get token

Authorizations:
BasicAuth
header Parameters
authorization
required
string
Request Body schema: application/x-www-form-urlencoded
required
grant_type
required
string (OAuth.TokenGrantType)
Value: "authorization_code"
code
required
string
redirect_uri
required
string

Responses

Response samples

Content type
application/json
{
  • "access_token": "string",
  • "token_type": "Bearer",
  • "expires_in": 0,
  • "id_token": "string"
}

Get session

Authorizations:
ApiKeyAuth

Responses

Response samples

Content type
application/json
{
  • "user": {
    }
}

Login

Request Body schema: application/json
required
name
required
string
password
required
string

Responses

Request samples

Content type
application/json
{
  • "name": "string",
  • "password": "string"
}

Response samples

Content type
application/json
{
  • "error": "invalid_name_or_password",
  • "error_description": "string"
}

Logout

Authorizations:
ApiKeyAuth

Responses

Get userinfo

Authorizations:
BearerAuth

Responses

Response samples

Content type
application/json
{
  • "sub": "string",
  • "name": "string"
}

Signup

Request Body schema: application/json
required
name
required
string
password
required
string
password_confirmation
required
string

Responses

Request samples

Content type
application/json
{
  • "name": "string",
  • "password": "string",
  • "password_confirmation": "string"
}

Response samples

Content type
application/json
{
  • "error": "name_length_not_enough",
  • "error_description": "string"
}