-
Notifications
You must be signed in to change notification settings - Fork 5
/
crd.yaml
261 lines (261 loc) · 9.88 KB
/
crd.yaml
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
90
91
92
93
94
95
96
97
98
99
100
101
102
103
104
105
106
107
108
109
110
111
112
113
114
115
116
117
118
119
120
121
122
123
124
125
126
127
128
129
130
131
132
133
134
135
136
137
138
139
140
141
142
143
144
145
146
147
148
149
150
151
152
153
154
155
156
157
158
159
160
161
162
163
164
165
166
167
168
169
170
171
172
173
174
175
176
177
178
179
180
181
182
183
184
185
186
187
188
189
190
191
192
193
194
195
196
197
198
199
200
201
202
203
204
205
206
207
208
209
210
211
212
213
214
215
216
217
218
219
220
221
222
223
224
225
226
227
228
229
230
231
232
233
234
235
236
237
238
239
240
241
242
243
244
245
246
247
248
249
250
251
252
253
254
255
256
257
258
259
260
261
apiVersion: apiextensions.k8s.io/v1beta1
kind: CustomResourceDefinition
metadata:
name: oauthclients.contrib.identityserver.io
spec:
group: contrib.identityserver.io
version: v1
scope: Namespaced
names:
plural: oauthclients
singular: oauthclient
kind: OauthClient
shortNames:
- oac
- client
subresources:
status: {}
validation:
openAPIV3Schema:
required: ['spec']
properties:
spec:
required:
- clientName
- allowedGrantTypes
properties:
enabled:
type: boolean
description: Specifies if client is enabled. This defaults to true.
clientId:
type: string
description: Unique ID of the client. If not set, the resource namespace and name (joined with a hyphen) are used instead.
clientSecrets:
type: array
description: Client secrets - only relevant for flows that require a secret.
items:
properties:
value:
type: string
format: password
description:
type: string
expiration:
type: string
format: date-time
type:
type: string
required:
- value
accessTokenType:
type: string
enum:
- jwt
- reference
description: Specifies whether the access token is a reference token or a self contained JWT token. This defaults to 'jwt'.
clientName:
type: string
description: Client display name (used for logging and consent screen).
clientUri:
type: string
pattern: ^[^{]*$
description: URI to further information about client (used on consent screen).
logoUri:
type: string
pattern: ^[^{]*$
description: URI to client logo (used on consent screen).
requireConsent:
type: boolean
description: Specifies whether a consent screen is required. This defaults to true.
allowAccessTokensViaBrowser:
type: boolean
description: Controls whether access tokens are transmitted via the browser for this client. This can prevent accidental leakage of access tokens when multiple response types are allowed.
alwaysIncludeUserClaimsInIdToken:
type: boolean
description: When requesting both an id token and access token, should the user claims always be added to the id token instead of requring the client to use the userinfo endpoint.
allowedGrantTypes:
type: array
description: Specifies the allowed grant types.
items:
type: string
enum:
- implicit
- hybrid
- authorization_code
- client_credentials
- password
- urn:ietf:params:oauth:grant-type:device_code
redirectUris:
type: array
description: Specifies allowed URIs to return tokens or authorization codes to
items:
type: string
pattern: ^[^{]*$
frontChannelLogoutUri:
type: string
pattern: ^[^{]*$
description: Specifies logout URI at client for HTTP front-channel based logout.
postLogoutRedirectUris:
type: array
description: Specifies allowed URIs to redirect to after logout.
items:
type: string
pattern: ^[^{]*$
allowedScopes:
type: array
description: Specifies the api scopes that the client is allowed to request. If empty, the client can't access any scope.
items:
type: string
updateAccessTokenClaimsOnRefresh:
type: boolean
description: Gets or sets a value indicating whether the access token (and its claims) should be updated on a refresh token request.
allowedCorsOrigins:
type: array
description: Gets or sets the allowed CORS origins for JavaScript clients.
items:
type: string
pattern: ^[^{]*$
claims:
type: array
description: Allows settings claims for the client (will be included in the access token).
items:
type: string
---
apiVersion: apiextensions.k8s.io/v1beta1
kind: CustomResourceDefinition
metadata:
name: apiresources.contrib.identityserver.io
spec:
group: contrib.identityserver.io
version: v1
scope: Namespaced
names:
plural: apiresources
singular: apiresource
kind: ApiResource
shortNames:
- apr
- apires
subresources:
status: {}
validation:
openAPIV3Schema:
required: ['spec']
properties:
spec:
type: object
properties:
enabled:
type: boolean
description: Indicates if this resource is enabled. This defaults to true.
name:
type: string
description: The unique name of the resource. If not set, the resource namespace and name (joined with a hyphen) are used instead.
displayName:
type: string
description: Display name of the resource.
description:
type: string
description: Description of the resource.
userClaims:
type: array
description: List of accociated user claims that should be included when this resource is requested.
items:
type: string
apiSecrets:
type: array
description: The API secret is used for the introspection endpoint. The API can authenticate with introspection using the API name and secret.
items:
type: object
properties:
description:
type: string
value:
type: string
format: password
expiration:
format: date-time
type: string
type:
type: string
scopes:
type: array
description: An API must have at least one scope. Each scope can have different settings.
items:
type: object
required:
- name
properties:
name:
type: string
description: Name of the scope. This is the value a client will use to request the scope.
displayName:
type: string
description: This value will be used e.g. on the consent screen.
description:
type: string
description: This value will be used e.g. on the consent screen.
required:
type: boolean
description: Specifies whether the user can de-select the scope on the consent screen.
emphasize:
type: boolean
description: Specifies whether the consent screen will emphasize this scope. Use this setting for sensitive or important scopes.
showInDiscoveryDocument:
type: boolean
description: Specifies whether this scope is shown in the discovery document. This defaults to true.
userClaims:
type: array
description: List of user-claim types that should be included in the access token.
items:
type: string
---
apiVersion: apiextensions.k8s.io/v1beta1
kind: CustomResourceDefinition
metadata:
name: identityresources.contrib.identityserver.io
spec:
group: contrib.identityserver.io
version: v1
scope: Namespaced
names:
plural: identityresources
singular: identityresource
kind: IdentityResource
shortNames:
- idr
subresources:
status: {}
validation:
openAPIV3Schema:
required: ['spec']
properties:
spec:
type: object
properties:
enabled:
type: boolean
description: Indicates if this resource is enabled. This defaults to true.
name:
type: string
description: The unique name of the resource. If not set, the resource namespace and name (joined with a hyphen) are used instead.
displayName:
type: string
description: Display name of the resource.
description:
type: string
description: Description of the resource.
userClaims:
type: array
description: List of accociated user claims that should be included when this resource is requested.
items:
type: string
required:
type: boolean
description: Specifies whether the user can de-select the scope on the consent screen (if the consent screen wants to implement such a feature).
emphasize:
type: boolean
description: Specifies whether the consent screen will emphasize this scope (if the consent screen wants to implement such a feature). Use this setting for sensitive or important scopes.
showInDiscoveryDocument:
type: boolean
description: Specifies whether this scope is shown in the discovery document. This defaults to true.