|
30 | 30 | } |
31 | 31 | }, |
32 | 32 | "schemas": { |
33 | | - "AccessToken": { |
34 | | - "description": "Contains token metadata and actual token.", |
35 | | - "properties": { |
36 | | - "active": { |
37 | | - "description": "Newly created access tokens are valid, and can be revoked if needed.", |
38 | | - "type": "boolean" |
39 | | - }, |
40 | | - "createdAt": { |
41 | | - "description": "Creation time of the access token.", |
42 | | - "format": "date-time", |
43 | | - "type": "string" |
44 | | - }, |
45 | | - "id": { |
46 | | - "description": "Unique ID of the access token. Also used as JTI field.", |
47 | | - "format": "uuid", |
48 | | - "type": "string" |
49 | | - }, |
50 | | - "token": { |
51 | | - "description": "The access token in JWT format. Use this with `Bearer` prefix for API calls. Store it, as it is not recoverable later.", |
52 | | - "type": "string" |
53 | | - }, |
54 | | - "validUntil": { |
55 | | - "description": "Approximate expiration time of the access token. Check the JWT for actual validity date.", |
56 | | - "format": "date-time", |
57 | | - "type": "string" |
58 | | - } |
59 | | - }, |
60 | | - "required": [ |
61 | | - "id", |
62 | | - "createdAt", |
63 | | - "validUntil", |
64 | | - "active", |
65 | | - "token" |
66 | | - ], |
67 | | - "title": "AccessTokenV2", |
68 | | - "type": "object" |
69 | | - }, |
70 | 33 | "AccessTokenMetadata": { |
71 | 34 | "description": "Does not contain the actual token.", |
72 | 35 | "properties": { |
|
134 | 97 | "title": "AuthError", |
135 | 98 | "type": "object" |
136 | 99 | }, |
137 | | - "CreateAccessTokenPayload": { |
138 | | - "properties": { |
139 | | - "ttlDays": { |
140 | | - "description": "The duration in days for how long the new Access Token should be valid.", |
141 | | - "maximum": 180, |
142 | | - "minimum": 1, |
143 | | - "type": "integer" |
144 | | - } |
145 | | - }, |
146 | | - "required": [ |
147 | | - "ttlDays" |
148 | | - ], |
149 | | - "title": "CreateAccessTokenRequestBody", |
150 | | - "type": "object" |
151 | | - }, |
152 | 100 | "CreateFederatedIdentityProviderPayload": { |
153 | 101 | "properties": { |
154 | 102 | "assertions": { |
|
603 | 551 | "title": "ServiceAccountKeyResponseWithKey", |
604 | 552 | "type": "object" |
605 | 553 | }, |
606 | | - "IntrospectJWTPayload": { |
607 | | - "properties": { |
608 | | - "token": { |
609 | | - "type": "string" |
610 | | - }, |
611 | | - "token_type_hint": { |
612 | | - "type": "string" |
613 | | - } |
614 | | - }, |
615 | | - "required": [ |
616 | | - "token" |
617 | | - ], |
618 | | - "title": "IntrospectRequestBody", |
619 | | - "type": "object" |
620 | | - }, |
621 | | - "IntrospectJWTResponse": { |
622 | | - "properties": { |
623 | | - "active": { |
624 | | - "type": "boolean" |
625 | | - }, |
626 | | - "aud": { |
627 | | - "items": { |
628 | | - "type": "string" |
629 | | - }, |
630 | | - "type": "array" |
631 | | - }, |
632 | | - "client_id": { |
633 | | - "type": "string" |
634 | | - }, |
635 | | - "exp": { |
636 | | - "type": "integer" |
637 | | - }, |
638 | | - "iat": { |
639 | | - "type": "integer" |
640 | | - }, |
641 | | - "iss": { |
642 | | - "type": "string" |
643 | | - }, |
644 | | - "jti": { |
645 | | - "type": "string" |
646 | | - }, |
647 | | - "scope": { |
648 | | - "type": "string" |
649 | | - }, |
650 | | - "sub": { |
651 | | - "type": "string" |
652 | | - }, |
653 | | - "token_type": { |
654 | | - "type": "string" |
655 | | - }, |
656 | | - "username": { |
657 | | - "type": "string" |
658 | | - } |
659 | | - }, |
660 | | - "required": [ |
661 | | - "active" |
662 | | - ], |
663 | | - "title": "IntrospectResponseBody", |
664 | | - "type": "object" |
665 | | - }, |
666 | 554 | "JWK": { |
667 | 555 | "description": "JSON Web Key according to https://datatracker.ietf.org/doc/html/rfc7517#section-4", |
668 | 556 | "properties": { |
|
722 | 610 | "title": "GetJWKResponseBody", |
723 | 611 | "type": "object" |
724 | 612 | }, |
725 | | - "ListAccessTokensResponse": { |
726 | | - "properties": { |
727 | | - "items": { |
728 | | - "items": { |
729 | | - "$ref": "#/components/schemas/AccessTokenMetadata" |
730 | | - }, |
731 | | - "type": "array" |
732 | | - } |
733 | | - }, |
734 | | - "title": "GetAccessTokensResponseBodyV2", |
735 | | - "type": "object" |
736 | | - }, |
737 | 613 | "ListServiceAccountKeysResponse": { |
738 | 614 | "properties": { |
739 | 615 | "items": { |
|
0 commit comments