Skip to content

Commit cf104e7

Browse files
authored
Fix risk policy conditions (#587)
1 parent 742c102 commit cf104e7

12 files changed

Lines changed: 988 additions & 46 deletions

.generator/okta-management-APIs-oasv3-noEnums-inheritance.yaml

Lines changed: 0 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -48470,8 +48470,6 @@ components:
4847048470
lifecycle: LIMITED_GA
4847148471
isGenerallyAvailable: false
4847248472
SKUs: []
48473-
required:
48474-
- level
4847548473
Role:
4847648474
x-okta-ignore-redocly-rules-for-sdk: true
4847748475
type: object

go.mod

Lines changed: 0 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -2,8 +2,6 @@ module github.com/okta/okta-sdk-golang/v6
22

33
go 1.24.0
44

5-
toolchain go1.24.2
6-
75
require (
86
github.com/cenkalti/backoff/v5 v5.0.3
97
github.com/go-jose/go-jose/v4 v4.1.3

okta/README.md

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -6,7 +6,7 @@ Allows customers to easily access the Okta Management APIs
66
This API client was generated by the [OpenAPI Generator](https://openapi-generator.tech) project. By using the [OpenAPI-spec](https://www.openapis.org/) from a remote server, you can easily generate an API client.
77

88
- API version: 5.1.0
9-
- Package version: 6.1.4
9+
- Package version: 6.1.5
1010
- Build package: org.openapitools.codegen.languages.GoClientCodegen
1111
For more information, please visit [https://developer.okta.com/](https://developer.okta.com/)
1212

okta/api/openapi.yaml

Lines changed: 0 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -75446,8 +75446,6 @@ components:
7544675446
lifecycle: LIMITED_GA
7544775447
isGenerallyAvailable: false
7544875448
SKUs: []
75449-
required:
75450-
- level
7545175449
type: object
7545275450
Role:
7545375451
properties:

okta/client.go

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -68,7 +68,7 @@ var (
6868
)
6969

7070
const (
71-
VERSION = "6.1.4"
71+
VERSION = "6.1.5"
7272
AccessTokenCacheKey = "OKTA_ACCESS_TOKEN"
7373
DpopAccessTokenNonce = "DPOP_OKTA_ACCESS_TOKEN_NONCE"
7474
DpopAccessTokenPrivateKey = "DPOP_OKTA_ACCESS_TOKEN_PRIVATE_KEY"

okta/configuration.go

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -165,7 +165,7 @@ type Configuration struct {
165165
func NewConfiguration(conf ...ConfigSetter) (*Configuration, error) {
166166
cfg := &Configuration{
167167
DefaultHeader: make(map[string]string),
168-
UserAgent: fmt.Sprintf("okta-sdk-golang/%s golang/%s %s/%s", "6.1.4", runtime.Version(), runtime.GOOS, runtime.GOARCH),
168+
UserAgent: fmt.Sprintf("okta-sdk-golang/%s golang/%s %s/%s", "6.1.5", runtime.Version(), runtime.GOOS, runtime.GOARCH),
169169
Debug: false,
170170
Servers: ServerConfigurations{
171171
{

okta/docs/AddJwk201Response.md

Lines changed: 300 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,300 @@
1+
# AddJwk201Response
2+
3+
## Properties
4+
5+
Name | Type | Description | Notes
6+
------------ | ------------- | ------------- | -------------
7+
**E** | Pointer to **string** | RSA key value (exponent) for key binding | [optional]
8+
**Kty** | Pointer to **string** | Cryptographic algorithm family for the certificate's key pair | [optional]
9+
**N** | Pointer to **string** | RSA key value (modulus) for key binding | [optional]
10+
**Use** | Pointer to **string** | Acceptable use of the JSON Web Key | [optional]
11+
**Kid** | Pointer to **NullableString** | Unique identifier of the JSON Web Key in the OAUth 2.0 client's JWKS | [optional]
12+
**Status** | Pointer to **string** | Status of the OAuth 2.0 client JSON Web Key | [optional] [default to "ACTIVE"]
13+
**Created** | Pointer to **string** | Timestamp when the OAuth 2.0 client JSON Web Key was created | [optional] [readonly]
14+
**Id** | Pointer to **string** | The unique ID of the OAuth client JSON Web Key | [optional] [readonly]
15+
**LastUpdated** | Pointer to **string** | Timestamp when the OAuth 2.0 client JSON Web Key was updated | [optional] [readonly]
16+
**Links** | Pointer to [**OAuthClientSecretLinks**](OAuthClientSecretLinks.md) | | [optional]
17+
18+
## Methods
19+
20+
### NewAddJwk201Response
21+
22+
`func NewAddJwk201Response() *AddJwk201Response`
23+
24+
NewAddJwk201Response instantiates a new AddJwk201Response object
25+
This constructor will assign default values to properties that have it defined,
26+
and makes sure properties required by API are set, but the set of arguments
27+
will change when the set of required properties is changed
28+
29+
### NewAddJwk201ResponseWithDefaults
30+
31+
`func NewAddJwk201ResponseWithDefaults() *AddJwk201Response`
32+
33+
NewAddJwk201ResponseWithDefaults instantiates a new AddJwk201Response object
34+
This constructor will only assign default values to properties that have it defined,
35+
but it doesn't guarantee that properties required by API are set
36+
37+
### GetE
38+
39+
`func (o *AddJwk201Response) GetE() string`
40+
41+
GetE returns the E field if non-nil, zero value otherwise.
42+
43+
### GetEOk
44+
45+
`func (o *AddJwk201Response) GetEOk() (*string, bool)`
46+
47+
GetEOk returns a tuple with the E field if it's non-nil, zero value otherwise
48+
and a boolean to check if the value has been set.
49+
50+
### SetE
51+
52+
`func (o *AddJwk201Response) SetE(v string)`
53+
54+
SetE sets E field to given value.
55+
56+
### HasE
57+
58+
`func (o *AddJwk201Response) HasE() bool`
59+
60+
HasE returns a boolean if a field has been set.
61+
62+
### GetKty
63+
64+
`func (o *AddJwk201Response) GetKty() string`
65+
66+
GetKty returns the Kty field if non-nil, zero value otherwise.
67+
68+
### GetKtyOk
69+
70+
`func (o *AddJwk201Response) GetKtyOk() (*string, bool)`
71+
72+
GetKtyOk returns a tuple with the Kty field if it's non-nil, zero value otherwise
73+
and a boolean to check if the value has been set.
74+
75+
### SetKty
76+
77+
`func (o *AddJwk201Response) SetKty(v string)`
78+
79+
SetKty sets Kty field to given value.
80+
81+
### HasKty
82+
83+
`func (o *AddJwk201Response) HasKty() bool`
84+
85+
HasKty returns a boolean if a field has been set.
86+
87+
### GetN
88+
89+
`func (o *AddJwk201Response) GetN() string`
90+
91+
GetN returns the N field if non-nil, zero value otherwise.
92+
93+
### GetNOk
94+
95+
`func (o *AddJwk201Response) GetNOk() (*string, bool)`
96+
97+
GetNOk returns a tuple with the N field if it's non-nil, zero value otherwise
98+
and a boolean to check if the value has been set.
99+
100+
### SetN
101+
102+
`func (o *AddJwk201Response) SetN(v string)`
103+
104+
SetN sets N field to given value.
105+
106+
### HasN
107+
108+
`func (o *AddJwk201Response) HasN() bool`
109+
110+
HasN returns a boolean if a field has been set.
111+
112+
### GetUse
113+
114+
`func (o *AddJwk201Response) GetUse() string`
115+
116+
GetUse returns the Use field if non-nil, zero value otherwise.
117+
118+
### GetUseOk
119+
120+
`func (o *AddJwk201Response) GetUseOk() (*string, bool)`
121+
122+
GetUseOk returns a tuple with the Use field if it's non-nil, zero value otherwise
123+
and a boolean to check if the value has been set.
124+
125+
### SetUse
126+
127+
`func (o *AddJwk201Response) SetUse(v string)`
128+
129+
SetUse sets Use field to given value.
130+
131+
### HasUse
132+
133+
`func (o *AddJwk201Response) HasUse() bool`
134+
135+
HasUse returns a boolean if a field has been set.
136+
137+
### GetKid
138+
139+
`func (o *AddJwk201Response) GetKid() string`
140+
141+
GetKid returns the Kid field if non-nil, zero value otherwise.
142+
143+
### GetKidOk
144+
145+
`func (o *AddJwk201Response) GetKidOk() (*string, bool)`
146+
147+
GetKidOk returns a tuple with the Kid field if it's non-nil, zero value otherwise
148+
and a boolean to check if the value has been set.
149+
150+
### SetKid
151+
152+
`func (o *AddJwk201Response) SetKid(v string)`
153+
154+
SetKid sets Kid field to given value.
155+
156+
### HasKid
157+
158+
`func (o *AddJwk201Response) HasKid() bool`
159+
160+
HasKid returns a boolean if a field has been set.
161+
162+
### SetKidNil
163+
164+
`func (o *AddJwk201Response) SetKidNil(b bool)`
165+
166+
SetKidNil sets the value for Kid to be an explicit nil
167+
168+
### UnsetKid
169+
`func (o *AddJwk201Response) UnsetKid()`
170+
171+
UnsetKid ensures that no value is present for Kid, not even an explicit nil
172+
### GetStatus
173+
174+
`func (o *AddJwk201Response) GetStatus() string`
175+
176+
GetStatus returns the Status field if non-nil, zero value otherwise.
177+
178+
### GetStatusOk
179+
180+
`func (o *AddJwk201Response) GetStatusOk() (*string, bool)`
181+
182+
GetStatusOk returns a tuple with the Status field if it's non-nil, zero value otherwise
183+
and a boolean to check if the value has been set.
184+
185+
### SetStatus
186+
187+
`func (o *AddJwk201Response) SetStatus(v string)`
188+
189+
SetStatus sets Status field to given value.
190+
191+
### HasStatus
192+
193+
`func (o *AddJwk201Response) HasStatus() bool`
194+
195+
HasStatus returns a boolean if a field has been set.
196+
197+
### GetCreated
198+
199+
`func (o *AddJwk201Response) GetCreated() string`
200+
201+
GetCreated returns the Created field if non-nil, zero value otherwise.
202+
203+
### GetCreatedOk
204+
205+
`func (o *AddJwk201Response) GetCreatedOk() (*string, bool)`
206+
207+
GetCreatedOk returns a tuple with the Created field if it's non-nil, zero value otherwise
208+
and a boolean to check if the value has been set.
209+
210+
### SetCreated
211+
212+
`func (o *AddJwk201Response) SetCreated(v string)`
213+
214+
SetCreated sets Created field to given value.
215+
216+
### HasCreated
217+
218+
`func (o *AddJwk201Response) HasCreated() bool`
219+
220+
HasCreated returns a boolean if a field has been set.
221+
222+
### GetId
223+
224+
`func (o *AddJwk201Response) GetId() string`
225+
226+
GetId returns the Id field if non-nil, zero value otherwise.
227+
228+
### GetIdOk
229+
230+
`func (o *AddJwk201Response) GetIdOk() (*string, bool)`
231+
232+
GetIdOk returns a tuple with the Id field if it's non-nil, zero value otherwise
233+
and a boolean to check if the value has been set.
234+
235+
### SetId
236+
237+
`func (o *AddJwk201Response) SetId(v string)`
238+
239+
SetId sets Id field to given value.
240+
241+
### HasId
242+
243+
`func (o *AddJwk201Response) HasId() bool`
244+
245+
HasId returns a boolean if a field has been set.
246+
247+
### GetLastUpdated
248+
249+
`func (o *AddJwk201Response) GetLastUpdated() string`
250+
251+
GetLastUpdated returns the LastUpdated field if non-nil, zero value otherwise.
252+
253+
### GetLastUpdatedOk
254+
255+
`func (o *AddJwk201Response) GetLastUpdatedOk() (*string, bool)`
256+
257+
GetLastUpdatedOk returns a tuple with the LastUpdated field if it's non-nil, zero value otherwise
258+
and a boolean to check if the value has been set.
259+
260+
### SetLastUpdated
261+
262+
`func (o *AddJwk201Response) SetLastUpdated(v string)`
263+
264+
SetLastUpdated sets LastUpdated field to given value.
265+
266+
### HasLastUpdated
267+
268+
`func (o *AddJwk201Response) HasLastUpdated() bool`
269+
270+
HasLastUpdated returns a boolean if a field has been set.
271+
272+
### GetLinks
273+
274+
`func (o *AddJwk201Response) GetLinks() OAuthClientSecretLinks`
275+
276+
GetLinks returns the Links field if non-nil, zero value otherwise.
277+
278+
### GetLinksOk
279+
280+
`func (o *AddJwk201Response) GetLinksOk() (*OAuthClientSecretLinks, bool)`
281+
282+
GetLinksOk returns a tuple with the Links field if it's non-nil, zero value otherwise
283+
and a boolean to check if the value has been set.
284+
285+
### SetLinks
286+
287+
`func (o *AddJwk201Response) SetLinks(v OAuthClientSecretLinks)`
288+
289+
SetLinks sets Links field to given value.
290+
291+
### HasLinks
292+
293+
`func (o *AddJwk201Response) HasLinks() bool`
294+
295+
HasLinks returns a boolean if a field has been set.
296+
297+
298+
[[Back to Model list]](../README.md#documentation-for-models) [[Back to API list]](../README.md#documentation-for-api-endpoints) [[Back to README]](../README.md)
299+
300+

0 commit comments

Comments
 (0)