forked from yannh/kubernetes-json-schema
-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy pathtokenreviewstatus-authentication-v1.json
89 lines (89 loc) · 2.71 KB
/
tokenreviewstatus-authentication-v1.json
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
81
82
83
84
85
86
87
88
89
{
"description": "TokenReviewStatus is the result of the token authentication request.",
"properties": {
"audiences": {
"description": "Audiences are audience identifiers chosen by the authenticator that are compatible with both the TokenReview and token. An identifier is any identifier in the intersection of the TokenReviewSpec audiences and the token's audiences. A client of the TokenReview API that sets the spec.audiences field should validate that a compatible audience identifier is returned in the status.audiences field to ensure that the TokenReview server is audience aware. If a TokenReview returns an empty status.audience field where status.authenticated is \"true\", the token is valid against the audience of the Kubernetes API server.",
"items": {
"type": [
"string",
"null"
]
},
"type": [
"array",
"null"
]
},
"authenticated": {
"description": "Authenticated indicates that the token was associated with a known user.",
"type": [
"boolean",
"null"
]
},
"error": {
"description": "Error indicates that the token couldn't be checked",
"type": [
"string",
"null"
]
},
"user": {
"description": "UserInfo holds the information about the user needed to implement the user.Info interface.",
"properties": {
"extra": {
"additionalProperties": {
"items": {
"type": [
"string",
"null"
]
},
"type": [
"array",
"null"
]
},
"description": "Any additional information provided by the authenticator.",
"type": [
"object",
"null"
]
},
"groups": {
"description": "The names of groups this user is a part of.",
"items": {
"type": [
"string",
"null"
]
},
"type": [
"array",
"null"
]
},
"uid": {
"description": "A unique value that identifies this user across time. If this user is deleted and another user by the same name is added, they will have different UIDs.",
"type": [
"string",
"null"
]
},
"username": {
"description": "The name that uniquely identifies this user among all active users.",
"type": [
"string",
"null"
]
}
},
"type": [
"object",
"null"
]
}
},
"type": "object",
"$schema": "http://json-schema.org/schema#"
}