Authentication
Get Self
GET
/auth/v1/self
{
"createdAt": "string",
"expiresAt": "string",
"id": "string",
"metadata": "object",
"method": "METHOD_NONE",
"updatedAt": "string"
}
curl --request GET \
--url https://try.flipt.io/auth/v1/self \
--header 'Accept: application/json' \
--header 'Authorization: Bearer <token>'
Authorizations
Authorizationheaderrequired
string
Bearer authentication header of the form Bearer <token>
, where <token>
is your auth token.
Response
200 - application/json
createdAtrequired
string
expiresAt
string
idrequired
string
metadatarequired
object
methodrequired
enum<string>
The default is METHOD_NONE
Available options:
METHOD_NONE
, METHOD_TOKEN
, METHOD_OIDC
, METHOD_KUBERNETES
updatedAtrequired
string
curl --request GET \
--url https://try.flipt.io/auth/v1/self \
--header 'Accept: application/json' \
--header 'Authorization: Bearer <token>'
{
"createdAt": "string",
"expiresAt": "string",
"id": "string",
"metadata": "object",
"method": "METHOD_NONE",
"updatedAt": "string"
}