-
Notifications
You must be signed in to change notification settings - Fork 216
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
- Loading branch information
Showing
16 changed files
with
332 additions
and
0 deletions.
There are no files selected for viewing
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,51 @@ | ||
<!-- HTML for static distribution bundle build --> | ||
<!DOCTYPE html> | ||
<html lang="en"> | ||
<head> | ||
<meta charset="UTF-8"> | ||
<title>Swagger UI</title> | ||
<link rel="stylesheet" type="text/css" href="./swagger-ui.css" > | ||
<link rel="icon" type="image/png" href="./favicon-32x32.png" sizes="32x32" /> | ||
<link rel="icon" type="image/png" href="./favicon-16x16.png" sizes="16x16" /> | ||
<style> | ||
html | ||
{ | ||
box-sizing: border-box; | ||
overflow: -moz-scrollbars-vertical; | ||
overflow-y: scroll; | ||
} | ||
|
||
*, | ||
*:before, | ||
*:after | ||
{ | ||
box-sizing: inherit; | ||
} | ||
|
||
body | ||
{ | ||
margin:0; | ||
background: #fafafa; | ||
} | ||
</style> | ||
</head> | ||
|
||
<body> | ||
<div id="swagger-ui"></div> | ||
|
||
<script src="./swagger-ui-bundle.js" charset="UTF-8"> </script> | ||
<script src="./swagger-ui-standalone-preset.js" charset="UTF-8"> </script> | ||
<script> | ||
window.onload = function() { | ||
// Begin Swagger UI call region | ||
const ui = SwaggerUIBundle({ | ||
configUrl: "swagger-config.json", | ||
dom_id: '#swagger-ui' | ||
}) | ||
// End Swagger UI call region | ||
|
||
window.ui = ui | ||
} | ||
</script> | ||
</body> | ||
</html> |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,104 @@ | ||
openapi: 3.0.1 | ||
info: | ||
title: sts-api | ||
description: REST API documentation for the sts-api | ||
version: 1.0.0 | ||
servers: | ||
- url: / | ||
paths: | ||
/token: | ||
post: | ||
tags: | ||
- Secure Token Service Api | ||
operationId: token | ||
requestBody: | ||
content: | ||
application/x-www-form-urlencoded: | ||
schema: | ||
required: | ||
- audience | ||
- client_id | ||
- client_secret | ||
- grant_type | ||
type: object | ||
properties: | ||
audience: | ||
type: string | ||
description: Audience for the SI token | ||
example: null | ||
bearer_access_scope: | ||
type: string | ||
description: Scope to be added in the VP token | ||
example: null | ||
client_id: | ||
type: string | ||
description: Id of the client requesting an SI token | ||
example: null | ||
client_secret: | ||
type: string | ||
description: Secret of the client requesting an SI token | ||
example: null | ||
grant_type: | ||
type: string | ||
description: "Type of grant: must be set to client_credentials" | ||
example: null | ||
token: | ||
type: string | ||
description: VP token to be added as a claim in the SI token | ||
example: null | ||
example: null | ||
encoding: | ||
audience: | ||
style: form | ||
bearer_access_scope: | ||
style: form | ||
client_id: | ||
style: form | ||
client_secret: | ||
style: form | ||
grant_type: | ||
style: form | ||
token: | ||
style: form | ||
responses: | ||
"200": | ||
description: The Self-Issued ID token | ||
content: | ||
application/json: | ||
schema: | ||
$ref: "#/components/schemas/StsTokenResponse" | ||
"400": | ||
description: Invalid Request | ||
content: | ||
application/json: | ||
schema: | ||
type: array | ||
example: null | ||
items: | ||
$ref: "#/components/schemas/StsTokenErrorResponse" | ||
components: | ||
schemas: | ||
StsTokenErrorResponse: | ||
type: object | ||
properties: | ||
error: | ||
type: string | ||
example: null | ||
error_description: | ||
type: string | ||
example: null | ||
example: null | ||
StsTokenResponse: | ||
type: object | ||
properties: | ||
access_token: | ||
type: string | ||
example: null | ||
expires_in: | ||
type: integer | ||
format: int64 | ||
example: null | ||
token_type: | ||
type: string | ||
example: null | ||
example: null |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1 @@ | ||
{"url":"sts-api.yaml","deepLinking":true} |
Large diffs are not rendered by default.
Oops, something went wrong.
Large diffs are not rendered by default.
Oops, something went wrong.
Large diffs are not rendered by default.
Oops, something went wrong.
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,51 @@ | ||
<!-- HTML for static distribution bundle build --> | ||
<!DOCTYPE html> | ||
<html lang="en"> | ||
<head> | ||
<meta charset="UTF-8"> | ||
<title>Swagger UI</title> | ||
<link rel="stylesheet" type="text/css" href="./swagger-ui.css" > | ||
<link rel="icon" type="image/png" href="./favicon-32x32.png" sizes="32x32" /> | ||
<link rel="icon" type="image/png" href="./favicon-16x16.png" sizes="16x16" /> | ||
<style> | ||
html | ||
{ | ||
box-sizing: border-box; | ||
overflow: -moz-scrollbars-vertical; | ||
overflow-y: scroll; | ||
} | ||
|
||
*, | ||
*:before, | ||
*:after | ||
{ | ||
box-sizing: inherit; | ||
} | ||
|
||
body | ||
{ | ||
margin:0; | ||
background: #fafafa; | ||
} | ||
</style> | ||
</head> | ||
|
||
<body> | ||
<div id="swagger-ui"></div> | ||
|
||
<script src="./swagger-ui-bundle.js" charset="UTF-8"> </script> | ||
<script src="./swagger-ui-standalone-preset.js" charset="UTF-8"> </script> | ||
<script> | ||
window.onload = function() { | ||
// Begin Swagger UI call region | ||
const ui = SwaggerUIBundle({ | ||
configUrl: "swagger-config.json", | ||
dom_id: '#swagger-ui' | ||
}) | ||
// End Swagger UI call region | ||
|
||
window.ui = ui | ||
} | ||
</script> | ||
</body> | ||
</html> |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,104 @@ | ||
openapi: 3.0.1 | ||
info: | ||
title: sts-api | ||
description: REST API documentation for the sts-api | ||
version: 1.0.0 | ||
servers: | ||
- url: / | ||
paths: | ||
/token: | ||
post: | ||
tags: | ||
- Secure Token Service Api | ||
operationId: token | ||
requestBody: | ||
content: | ||
application/x-www-form-urlencoded: | ||
schema: | ||
required: | ||
- audience | ||
- client_id | ||
- client_secret | ||
- grant_type | ||
type: object | ||
properties: | ||
audience: | ||
type: string | ||
description: Audience for the SI token | ||
example: null | ||
bearer_access_scope: | ||
type: string | ||
description: Scope to be added in the VP token | ||
example: null | ||
client_id: | ||
type: string | ||
description: Id of the client requesting an SI token | ||
example: null | ||
client_secret: | ||
type: string | ||
description: Secret of the client requesting an SI token | ||
example: null | ||
grant_type: | ||
type: string | ||
description: "Type of grant: must be set to client_credentials" | ||
example: null | ||
token: | ||
type: string | ||
description: VP token to be added as a claim in the SI token | ||
example: null | ||
example: null | ||
encoding: | ||
audience: | ||
style: form | ||
bearer_access_scope: | ||
style: form | ||
client_id: | ||
style: form | ||
client_secret: | ||
style: form | ||
grant_type: | ||
style: form | ||
token: | ||
style: form | ||
responses: | ||
"200": | ||
description: The Self-Issued ID token | ||
content: | ||
application/json: | ||
schema: | ||
$ref: "#/components/schemas/StsTokenResponse" | ||
"400": | ||
description: Invalid Request | ||
content: | ||
application/json: | ||
schema: | ||
type: array | ||
example: null | ||
items: | ||
$ref: "#/components/schemas/StsTokenErrorResponse" | ||
components: | ||
schemas: | ||
StsTokenErrorResponse: | ||
type: object | ||
properties: | ||
error: | ||
type: string | ||
example: null | ||
error_description: | ||
type: string | ||
example: null | ||
example: null | ||
StsTokenResponse: | ||
type: object | ||
properties: | ||
access_token: | ||
type: string | ||
example: null | ||
expires_in: | ||
type: integer | ||
format: int64 | ||
example: null | ||
token_type: | ||
type: string | ||
example: null | ||
example: null |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1 @@ | ||
{"url":"sts-api.yaml","deepLinking":true} |
Large diffs are not rendered by default.
Oops, something went wrong.
Large diffs are not rendered by default.
Oops, something went wrong.
Large diffs are not rendered by default.
Oops, something went wrong.