-
Notifications
You must be signed in to change notification settings - Fork 70
/
o_auth_resource_server.go
23 lines (17 loc) · 1.33 KB
/
o_auth_resource_server.go
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
// Copyright 2021 VMware, Inc.
// SPDX-License-Identifier: Apache License 2.0
package models
// This file is auto-generated.
// OAuthResourceServer o auth resource server
// swagger:model OAuthResourceServer
type OAuthResourceServer struct {
// Access token type. Enum options - ACCESS_TOKEN_TYPE_JWT, ACCESS_TOKEN_TYPE_OPAQUE. Field introduced in 21.1.3. Allowed in Enterprise edition with any value, Enterprise with Cloud Services edition.
// Required: true
AccessType *string `json:"access_type"`
// Lifetime of the cached introspection data. Allowed values are 0-1440. Special values are 0- No caching of introspection data. Field introduced in 22.1.3. Unit is MIN. Allowed in Enterprise edition with any value, Enterprise with Cloud Services edition.
IntrospectionDataTimeout *int32 `json:"introspection_data_timeout,omitempty"`
// Validation parameters to be used when access token type is JWT. Field introduced in 21.1.3. Allowed in Enterprise edition with any value, Enterprise with Cloud Services edition.
JwtParams *JWTValidationParams `json:"jwt_params,omitempty"`
// Validation parameters to be used when access token type is opaque. Field introduced in 21.1.3. Allowed in Enterprise edition with any value, Enterprise with Cloud Services edition.
OpaqueTokenParams *OpaqueTokenValidationParams `json:"opaque_token_params,omitempty"`
}