pubkey stuff

This commit is contained in:
2021-05-06 16:37:32 +02:00
parent 49e8aa43b4
commit 0377278ea0
3 changed files with 40 additions and 2 deletions

View File

@ -35,6 +35,19 @@ paths:
type: string
security:
- jwt: ['secret']
/pubkey:
get:
tags: [ "JWT" ]
summary: Get the public key of this issuer
operationId: auth.getPubKey
responses:
'200':
description: public key
content:
'text/plain':
schema:
type: string
components:
securitySchemes: