Skip to content

Identifier Service (1.0)

Authentication service for Insly

Download OpenAPI description
Languages
Servers
Mock server

https://ledger.docs.insly.com/_mock/apis/identifier/swagger/

https://ledger.docs.insly.com/api/v1/identifier/

Operations
Operations

Request

refresh AccessToken

Path
tenant_tagstringrequired

Tenant Tag

Bodyapplication/jsonrequired

RefreshToken request params

refresh_tokenstringrequired
usernamestringrequired

Username same as the "username" field inside JWT token

curl -i -X POST \
  'https://ledger.docs.insly.com/_mock/apis/identifier/swagger/token/refresh/{tenant_tag}' \
  -H 'Content-Type: application/json' \
  -d '{
    "refresh_token": "string",
    "username": "string"
  }'

Responses

OK

Bodyapplication/json
authentication_resultobject(contract.AuthenticationResultType)
authentication_result.​access_tokenstring
authentication_result.​expires_ininteger
authentication_result.​id_tokenstring
authentication_result.​refresh_tokenstring
authentication_result.​token_typestring
challenge_namestring
challenge_parametersobject(contract.ChallengeResultParameters)
challenge_parameters.​qr_codestring
challenge_parameters.​required_attributesArray of strings
challenge_parameters.​secret_codestring
challenge_parameters.​user_attributesobject
challenge_parameters.​user_attributes.​property name*stringadditional property
challenge_parameters.​user_id_for_srpstring
dataobject
data.​property name*stringadditional property
Response
application/json
{ "authentication_result": { "access_token": "string", "expires_in": 0, "id_token": "string", "refresh_token": "string", "token_type": "string" }, "challenge_name": "string", "challenge_parameters": { "qr_code": "string", "required_attributes": [], "secret_code": "string", "user_attributes": {}, "user_id_for_srp": "string" }, "data": { "property1": "string", "property2": "string" } }