You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Copy file name to clipboardExpand all lines: generated/jsonschema/tetrateio.api.iam.v2/GrantRequest.jsonschema
+36-1Lines changed: 36 additions & 1 deletion
Original file line number
Diff line number
Diff line change
@@ -8,7 +8,11 @@
8
8
"REFRESH_TOKEN",
9
9
1,
10
10
"DEVICE_CODE_URN",
11
-
2
11
+
2,
12
+
"CLIENT_CREDENTIALS",
13
+
3,
14
+
"TOKEN_EXCHANGE",
15
+
4
12
16
],
13
17
"oneOf": [
14
18
{
@@ -38,6 +42,37 @@
38
42
"client_id": {
39
43
"type": "string",
40
44
"description": "Client ID for which the token grant request is being made.\n This is optional and when absent, TSB will use an appropriate client ID from configuration\n for the grant type being request.\n For a refresh grant type, this parameter may be required to ensure the appropriate client\n configuration is used."
45
+
},
46
+
"resource": {
47
+
"type": "string",
48
+
"description": "A URI that indicates the target service or resource where the client intends to use the requested token.\n This is used with the token exchange grant and should be the URI of TSB."
49
+
},
50
+
"subject_token": {
51
+
"type": "string",
52
+
"description": "A token that represents the identity of the party on behalf of whom the request is being made.\n This is used with the token exchange grant and should be either an ID Token or Access Token from the configured\n offline token grant client."
53
+
},
54
+
"subject_token_type": {
55
+
"enum": [
56
+
"TOKEN_TYPE_UNSPECIFIED",
57
+
0,
58
+
"TOKEN_TYPE_ACCESS_TOKEN",
59
+
1,
60
+
"TOKEN_TYPE_REFRESH_TOKEN",
61
+
2,
62
+
"TOKEN_TYPE_ID_TOKEN",
63
+
3,
64
+
"TOKEN_TYPE_JWT",
65
+
4
66
+
],
67
+
"oneOf": [
68
+
{
69
+
"type": "string"
70
+
},
71
+
{
72
+
"type": "integer"
73
+
}
74
+
],
75
+
"description": "An identifier that indicates the type of the security token in the \"subject_token\" parameter.\n This is used with the token exchange grant."
0 commit comments