Skip to content

Fundacred - API Renovação (1.1)

Documentação para a API renewal-api

Download OpenAPI description
Overview
Infra Fundacred
Languages
Servers
Mock server
https://docs.fundacred.org.br/_mock/renewal-api/openapi/
TST
https://tst-api.fundacred.org.br/auth-server/
HML
https://hml-api.fundacred.org.br/auth-server/
PRD
https://api.fundacred.org.br/auth-server/

Autenticação

Login, Logout e validação de sessão

Operations

login

Request

Login do usuário

Bodyapplication/jsonrequired
usernamestringrequired
passwordstringrequired
curl -i -X POST \
  https://docs.fundacred.org.br/_mock/renewal-api/openapi/login \
  -H 'Content-Type: application/json' \
  -d '{
    "username": "string",
    "password": "string"
  }'

Responses

Sucesso ao solicitar autenticação

Body*/*
access_tokenstring
expires_ininteger(int64)
refresh_expires_ininteger(int64)
refresh_tokenstring
token_typestring

changePassword

Request

Mudança de senha

Query
authobject(OAuth2AuthenticationContext)required
Bodyapplication/jsonrequired
usuariostringrequired
nova_senhastringrequired
curl -i -X PUT \
  https://docs.fundacred.org.br/_mock/renewal-api/openapi/change-password \
  -H 'Content-Type: application/json' \
  -d '{
    "usuario": "string",
    "nova_senha": "string"
  }'

Responses

Sucesso ao alterar a senha do usuário

revoke

Request

Revogar token (Logout)

curl -i -X POST \
  https://docs.fundacred.org.br/_mock/renewal-api/openapi/revoke

Responses

Sucesso ao revogar o token

Refresh

Renovação de tokens JWT

Operations

Cadastro

Operações relacionadas ao usuário e perfil

Operations

Health & Error

Operations