authorisation get <url>
Command to GET in the Authorisation API. It is useful to check the health of the API.
Parameters:
- url: Path to get.
Examples:
authorisation get /health
authorisation token <definitionId> <vpJwt>
Command to call the /token endpoint of the Authorisation API.
Parameters:
- definitionId: Definition ID. It must be "didr_invite_presentation", "didr_write_presentation", "tir_invite_presentation", "tir_write_presentation", or "timestamp_write_presentation".
- vpJwt: Verifiable Presentation in JWT format.
authorisation auth <definitionId> <alg> <vc>
Command to complete the authentication process in the Authorisation API to get an access token.
Parameters:
- definitionId: Definition ID. It must be "didr_invite_presentation", "didr_write_presentation", "tir_invite_presentation", "tir_write_presentation", "timestamp_write_presentation", "tnt_authorise_presentation", "tnt_create_presentation", "tnt_write_presentation", "tpr_write_presentation", or "tsr_write_presentation".
- vc (optional): Verifiable Credential to be wrapped during the presentation.
Examples:
authorisation auth didr_write_presentation
authorisation auth didr_invite_presentation ey...