-
-
Notifications
You must be signed in to change notification settings - Fork 23
/
model_oidc_configuration.go
1246 lines (1064 loc) · 48 KB
/
model_oidc_configuration.go
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
262
263
264
265
266
267
268
269
270
271
272
273
274
275
276
277
278
279
280
281
282
283
284
285
286
287
288
289
290
291
292
293
294
295
296
297
298
299
300
301
302
303
304
305
306
307
308
309
310
311
312
313
314
315
316
317
318
319
320
321
322
323
324
325
326
327
328
329
330
331
332
333
334
335
336
337
338
339
340
341
342
343
344
345
346
347
348
349
350
351
352
353
354
355
356
357
358
359
360
361
362
363
364
365
366
367
368
369
370
371
372
373
374
375
376
377
378
379
380
381
382
383
384
385
386
387
388
389
390
391
392
393
394
395
396
397
398
399
400
401
402
403
404
405
406
407
408
409
410
411
412
413
414
415
416
417
418
419
420
421
422
423
424
425
426
427
428
429
430
431
432
433
434
435
436
437
438
439
440
441
442
443
444
445
446
447
448
449
450
451
452
453
454
455
456
457
458
459
460
461
462
463
464
465
466
467
468
469
470
471
472
473
474
475
476
477
478
479
480
481
482
483
484
485
486
487
488
489
490
491
492
493
494
495
496
497
498
499
500
501
502
503
504
505
506
507
508
509
510
511
512
513
514
515
516
517
518
519
520
521
522
523
524
525
526
527
528
529
530
531
532
533
534
535
536
537
538
539
540
541
542
543
544
545
546
547
548
549
550
551
552
553
554
555
556
557
558
559
560
561
562
563
564
565
566
567
568
569
570
571
572
573
574
575
576
577
578
579
580
581
582
583
584
585
586
587
588
589
590
591
592
593
594
595
596
597
598
599
600
601
602
603
604
605
606
607
608
609
610
611
612
613
614
615
616
617
618
619
620
621
622
623
624
625
626
627
628
629
630
631
632
633
634
635
636
637
638
639
640
641
642
643
644
645
646
647
648
649
650
651
652
653
654
655
656
657
658
659
660
661
662
663
664
665
666
667
668
669
670
671
672
673
674
675
676
677
678
679
680
681
682
683
684
685
686
687
688
689
690
691
692
693
694
695
696
697
698
699
700
701
702
703
704
705
706
707
708
709
710
711
712
713
714
715
716
717
718
719
720
721
722
723
724
725
726
727
728
729
730
731
732
733
734
735
736
737
738
739
740
741
742
743
744
745
746
747
748
749
750
751
752
753
754
755
756
757
758
759
760
761
762
763
764
765
766
767
768
769
770
771
772
773
774
775
776
777
778
779
780
781
782
783
784
785
786
787
788
789
790
791
792
793
794
795
796
797
798
799
800
801
802
803
804
805
806
807
808
809
810
811
812
813
814
815
816
817
818
819
820
821
822
823
824
825
826
827
828
829
830
831
832
833
834
835
836
837
838
839
840
841
842
843
844
845
846
847
848
849
850
851
852
853
854
855
856
857
858
859
860
861
862
863
864
865
866
867
868
869
870
871
872
873
874
875
876
877
878
879
880
881
882
883
884
885
886
887
888
889
890
891
892
893
894
895
896
897
898
899
900
901
902
903
904
905
906
907
908
909
910
911
912
913
914
915
916
917
918
919
920
921
922
923
924
925
926
927
928
929
930
931
932
933
934
935
936
937
938
939
940
941
942
943
944
945
946
947
948
949
950
951
952
953
954
955
956
957
958
959
960
961
962
963
964
965
966
967
968
969
970
971
972
973
974
975
976
977
978
979
980
981
982
983
984
985
986
987
988
989
990
991
992
993
994
995
996
997
998
999
1000
/*
Ory Hydra API
Documentation for all of Ory Hydra's APIs.
API version: v2.2.1
Contact: [email protected]
*/
// Code generated by OpenAPI Generator (https://openapi-generator.tech); DO NOT EDIT.
package client
import (
"encoding/json"
"fmt"
)
// checks if the OidcConfiguration type satisfies the MappedNullable interface at compile time
var _ MappedNullable = &OidcConfiguration{}
// OidcConfiguration Includes links to several endpoints (for example `/oauth2/token`) and exposes information on supported signature algorithms among others.
type OidcConfiguration struct {
// OAuth 2.0 Authorization Endpoint URL
AuthorizationEndpoint string `json:"authorization_endpoint"`
// OpenID Connect Back-Channel Logout Session Required Boolean value specifying whether the OP can pass a sid (session ID) Claim in the Logout Token to identify the RP session with the OP. If supported, the sid Claim is also included in ID Tokens issued by the OP
BackchannelLogoutSessionSupported *bool `json:"backchannel_logout_session_supported,omitempty"`
// OpenID Connect Back-Channel Logout Supported Boolean value specifying whether the OP supports back-channel logout, with true indicating support.
BackchannelLogoutSupported *bool `json:"backchannel_logout_supported,omitempty"`
// OpenID Connect Claims Parameter Parameter Supported Boolean value specifying whether the OP supports use of the claims parameter, with true indicating support.
ClaimsParameterSupported *bool `json:"claims_parameter_supported,omitempty"`
// OpenID Connect Supported Claims JSON array containing a list of the Claim Names of the Claims that the OpenID Provider MAY be able to supply values for. Note that for privacy or other reasons, this might not be an exhaustive list.
ClaimsSupported []string `json:"claims_supported,omitempty"`
// OAuth 2.0 PKCE Supported Code Challenge Methods JSON array containing a list of Proof Key for Code Exchange (PKCE) [RFC7636] code challenge methods supported by this authorization server.
CodeChallengeMethodsSupported []string `json:"code_challenge_methods_supported,omitempty"`
// OpenID Connect Verifiable Credentials Endpoint Contains the URL of the Verifiable Credentials Endpoint.
CredentialsEndpointDraft00 *string `json:"credentials_endpoint_draft_00,omitempty"`
// OpenID Connect Verifiable Credentials Supported JSON array containing a list of the Verifiable Credentials supported by this authorization server.
CredentialsSupportedDraft00 []CredentialSupportedDraft00 `json:"credentials_supported_draft_00,omitempty"`
// OpenID Connect End-Session Endpoint URL at the OP to which an RP can perform a redirect to request that the End-User be logged out at the OP.
EndSessionEndpoint *string `json:"end_session_endpoint,omitempty"`
// OpenID Connect Front-Channel Logout Session Required Boolean value specifying whether the OP can pass iss (issuer) and sid (session ID) query parameters to identify the RP session with the OP when the frontchannel_logout_uri is used. If supported, the sid Claim is also included in ID Tokens issued by the OP.
FrontchannelLogoutSessionSupported *bool `json:"frontchannel_logout_session_supported,omitempty"`
// OpenID Connect Front-Channel Logout Supported Boolean value specifying whether the OP supports HTTP-based logout, with true indicating support.
FrontchannelLogoutSupported *bool `json:"frontchannel_logout_supported,omitempty"`
// OAuth 2.0 Supported Grant Types JSON array containing a list of the OAuth 2.0 Grant Type values that this OP supports.
GrantTypesSupported []string `json:"grant_types_supported,omitempty"`
// OpenID Connect Default ID Token Signing Algorithms Algorithm used to sign OpenID Connect ID Tokens.
IdTokenSignedResponseAlg []string `json:"id_token_signed_response_alg"`
// OpenID Connect Supported ID Token Signing Algorithms JSON array containing a list of the JWS signing algorithms (alg values) supported by the OP for the ID Token to encode the Claims in a JWT.
IdTokenSigningAlgValuesSupported []string `json:"id_token_signing_alg_values_supported"`
// OpenID Connect Issuer URL An URL using the https scheme with no query or fragment component that the OP asserts as its IssuerURL Identifier. If IssuerURL discovery is supported , this value MUST be identical to the issuer value returned by WebFinger. This also MUST be identical to the iss Claim value in ID Tokens issued from this IssuerURL.
Issuer string `json:"issuer"`
// OpenID Connect Well-Known JSON Web Keys URL URL of the OP's JSON Web Key Set [JWK] document. This contains the signing key(s) the RP uses to validate signatures from the OP. The JWK Set MAY also contain the Server's encryption key(s), which are used by RPs to encrypt requests to the Server. When both signing and encryption keys are made available, a use (Key Use) parameter value is REQUIRED for all keys in the referenced JWK Set to indicate each key's intended usage. Although some algorithms allow the same key to be used for both signatures and encryption, doing so is NOT RECOMMENDED, as it is less secure. The JWK x5c parameter MAY be used to provide X.509 representations of keys provided. When used, the bare key values MUST still be present and MUST match those in the certificate.
JwksUri string `json:"jwks_uri"`
// OpenID Connect Dynamic Client Registration Endpoint URL
RegistrationEndpoint *string `json:"registration_endpoint,omitempty"`
// OpenID Connect Supported Request Object Signing Algorithms JSON array containing a list of the JWS signing algorithms (alg values) supported by the OP for Request Objects, which are described in Section 6.1 of OpenID Connect Core 1.0 [OpenID.Core]. These algorithms are used both when the Request Object is passed by value (using the request parameter) and when it is passed by reference (using the request_uri parameter).
RequestObjectSigningAlgValuesSupported []string `json:"request_object_signing_alg_values_supported,omitempty"`
// OpenID Connect Request Parameter Supported Boolean value specifying whether the OP supports use of the request parameter, with true indicating support.
RequestParameterSupported *bool `json:"request_parameter_supported,omitempty"`
// OpenID Connect Request URI Parameter Supported Boolean value specifying whether the OP supports use of the request_uri parameter, with true indicating support.
RequestUriParameterSupported *bool `json:"request_uri_parameter_supported,omitempty"`
// OpenID Connect Requires Request URI Registration Boolean value specifying whether the OP requires any request_uri values used to be pre-registered using the request_uris registration parameter.
RequireRequestUriRegistration *bool `json:"require_request_uri_registration,omitempty"`
// OAuth 2.0 Supported Response Modes JSON array containing a list of the OAuth 2.0 response_mode values that this OP supports.
ResponseModesSupported []string `json:"response_modes_supported,omitempty"`
// OAuth 2.0 Supported Response Types JSON array containing a list of the OAuth 2.0 response_type values that this OP supports. Dynamic OpenID Providers MUST support the code, id_token, and the token id_token Response Type values.
ResponseTypesSupported []string `json:"response_types_supported"`
// OAuth 2.0 Token Revocation URL URL of the authorization server's OAuth 2.0 revocation endpoint.
RevocationEndpoint *string `json:"revocation_endpoint,omitempty"`
// OAuth 2.0 Supported Scope Values JSON array containing a list of the OAuth 2.0 [RFC6749] scope values that this server supports. The server MUST support the openid scope value. Servers MAY choose not to advertise some supported scope values even when this parameter is used
ScopesSupported []string `json:"scopes_supported,omitempty"`
// OpenID Connect Supported Subject Types JSON array containing a list of the Subject Identifier types that this OP supports. Valid types include pairwise and public.
SubjectTypesSupported []string `json:"subject_types_supported"`
// OAuth 2.0 Token Endpoint URL
TokenEndpoint string `json:"token_endpoint"`
// OAuth 2.0 Supported Client Authentication Methods JSON array containing a list of Client Authentication methods supported by this Token Endpoint. The options are client_secret_post, client_secret_basic, client_secret_jwt, and private_key_jwt, as described in Section 9 of OpenID Connect Core 1.0
TokenEndpointAuthMethodsSupported []string `json:"token_endpoint_auth_methods_supported,omitempty"`
// OpenID Connect Userinfo URL URL of the OP's UserInfo Endpoint.
UserinfoEndpoint *string `json:"userinfo_endpoint,omitempty"`
// OpenID Connect User Userinfo Signing Algorithm Algorithm used to sign OpenID Connect Userinfo Responses.
UserinfoSignedResponseAlg []string `json:"userinfo_signed_response_alg"`
// OpenID Connect Supported Userinfo Signing Algorithm JSON array containing a list of the JWS [JWS] signing algorithms (alg values) [JWA] supported by the UserInfo Endpoint to encode the Claims in a JWT [JWT].
UserinfoSigningAlgValuesSupported []string `json:"userinfo_signing_alg_values_supported,omitempty"`
AdditionalProperties map[string]interface{}
}
type _OidcConfiguration OidcConfiguration
// NewOidcConfiguration instantiates a new OidcConfiguration object
// This constructor will assign default values to properties that have it defined,
// and makes sure properties required by API are set, but the set of arguments
// will change when the set of required properties is changed
func NewOidcConfiguration(authorizationEndpoint string, idTokenSignedResponseAlg []string, idTokenSigningAlgValuesSupported []string, issuer string, jwksUri string, responseTypesSupported []string, subjectTypesSupported []string, tokenEndpoint string, userinfoSignedResponseAlg []string) *OidcConfiguration {
this := OidcConfiguration{}
this.AuthorizationEndpoint = authorizationEndpoint
this.IdTokenSignedResponseAlg = idTokenSignedResponseAlg
this.IdTokenSigningAlgValuesSupported = idTokenSigningAlgValuesSupported
this.Issuer = issuer
this.JwksUri = jwksUri
this.ResponseTypesSupported = responseTypesSupported
this.SubjectTypesSupported = subjectTypesSupported
this.TokenEndpoint = tokenEndpoint
this.UserinfoSignedResponseAlg = userinfoSignedResponseAlg
return &this
}
// NewOidcConfigurationWithDefaults instantiates a new OidcConfiguration object
// This constructor will only assign default values to properties that have it defined,
// but it doesn't guarantee that properties required by API are set
func NewOidcConfigurationWithDefaults() *OidcConfiguration {
this := OidcConfiguration{}
return &this
}
// GetAuthorizationEndpoint returns the AuthorizationEndpoint field value
func (o *OidcConfiguration) GetAuthorizationEndpoint() string {
if o == nil {
var ret string
return ret
}
return o.AuthorizationEndpoint
}
// GetAuthorizationEndpointOk returns a tuple with the AuthorizationEndpoint field value
// and a boolean to check if the value has been set.
func (o *OidcConfiguration) GetAuthorizationEndpointOk() (*string, bool) {
if o == nil {
return nil, false
}
return &o.AuthorizationEndpoint, true
}
// SetAuthorizationEndpoint sets field value
func (o *OidcConfiguration) SetAuthorizationEndpoint(v string) {
o.AuthorizationEndpoint = v
}
// GetBackchannelLogoutSessionSupported returns the BackchannelLogoutSessionSupported field value if set, zero value otherwise.
func (o *OidcConfiguration) GetBackchannelLogoutSessionSupported() bool {
if o == nil || IsNil(o.BackchannelLogoutSessionSupported) {
var ret bool
return ret
}
return *o.BackchannelLogoutSessionSupported
}
// GetBackchannelLogoutSessionSupportedOk returns a tuple with the BackchannelLogoutSessionSupported field value if set, nil otherwise
// and a boolean to check if the value has been set.
func (o *OidcConfiguration) GetBackchannelLogoutSessionSupportedOk() (*bool, bool) {
if o == nil || IsNil(o.BackchannelLogoutSessionSupported) {
return nil, false
}
return o.BackchannelLogoutSessionSupported, true
}
// HasBackchannelLogoutSessionSupported returns a boolean if a field has been set.
func (o *OidcConfiguration) HasBackchannelLogoutSessionSupported() bool {
if o != nil && !IsNil(o.BackchannelLogoutSessionSupported) {
return true
}
return false
}
// SetBackchannelLogoutSessionSupported gets a reference to the given bool and assigns it to the BackchannelLogoutSessionSupported field.
func (o *OidcConfiguration) SetBackchannelLogoutSessionSupported(v bool) {
o.BackchannelLogoutSessionSupported = &v
}
// GetBackchannelLogoutSupported returns the BackchannelLogoutSupported field value if set, zero value otherwise.
func (o *OidcConfiguration) GetBackchannelLogoutSupported() bool {
if o == nil || IsNil(o.BackchannelLogoutSupported) {
var ret bool
return ret
}
return *o.BackchannelLogoutSupported
}
// GetBackchannelLogoutSupportedOk returns a tuple with the BackchannelLogoutSupported field value if set, nil otherwise
// and a boolean to check if the value has been set.
func (o *OidcConfiguration) GetBackchannelLogoutSupportedOk() (*bool, bool) {
if o == nil || IsNil(o.BackchannelLogoutSupported) {
return nil, false
}
return o.BackchannelLogoutSupported, true
}
// HasBackchannelLogoutSupported returns a boolean if a field has been set.
func (o *OidcConfiguration) HasBackchannelLogoutSupported() bool {
if o != nil && !IsNil(o.BackchannelLogoutSupported) {
return true
}
return false
}
// SetBackchannelLogoutSupported gets a reference to the given bool and assigns it to the BackchannelLogoutSupported field.
func (o *OidcConfiguration) SetBackchannelLogoutSupported(v bool) {
o.BackchannelLogoutSupported = &v
}
// GetClaimsParameterSupported returns the ClaimsParameterSupported field value if set, zero value otherwise.
func (o *OidcConfiguration) GetClaimsParameterSupported() bool {
if o == nil || IsNil(o.ClaimsParameterSupported) {
var ret bool
return ret
}
return *o.ClaimsParameterSupported
}
// GetClaimsParameterSupportedOk returns a tuple with the ClaimsParameterSupported field value if set, nil otherwise
// and a boolean to check if the value has been set.
func (o *OidcConfiguration) GetClaimsParameterSupportedOk() (*bool, bool) {
if o == nil || IsNil(o.ClaimsParameterSupported) {
return nil, false
}
return o.ClaimsParameterSupported, true
}
// HasClaimsParameterSupported returns a boolean if a field has been set.
func (o *OidcConfiguration) HasClaimsParameterSupported() bool {
if o != nil && !IsNil(o.ClaimsParameterSupported) {
return true
}
return false
}
// SetClaimsParameterSupported gets a reference to the given bool and assigns it to the ClaimsParameterSupported field.
func (o *OidcConfiguration) SetClaimsParameterSupported(v bool) {
o.ClaimsParameterSupported = &v
}
// GetClaimsSupported returns the ClaimsSupported field value if set, zero value otherwise.
func (o *OidcConfiguration) GetClaimsSupported() []string {
if o == nil || IsNil(o.ClaimsSupported) {
var ret []string
return ret
}
return o.ClaimsSupported
}
// GetClaimsSupportedOk returns a tuple with the ClaimsSupported field value if set, nil otherwise
// and a boolean to check if the value has been set.
func (o *OidcConfiguration) GetClaimsSupportedOk() ([]string, bool) {
if o == nil || IsNil(o.ClaimsSupported) {
return nil, false
}
return o.ClaimsSupported, true
}
// HasClaimsSupported returns a boolean if a field has been set.
func (o *OidcConfiguration) HasClaimsSupported() bool {
if o != nil && !IsNil(o.ClaimsSupported) {
return true
}
return false
}
// SetClaimsSupported gets a reference to the given []string and assigns it to the ClaimsSupported field.
func (o *OidcConfiguration) SetClaimsSupported(v []string) {
o.ClaimsSupported = v
}
// GetCodeChallengeMethodsSupported returns the CodeChallengeMethodsSupported field value if set, zero value otherwise.
func (o *OidcConfiguration) GetCodeChallengeMethodsSupported() []string {
if o == nil || IsNil(o.CodeChallengeMethodsSupported) {
var ret []string
return ret
}
return o.CodeChallengeMethodsSupported
}
// GetCodeChallengeMethodsSupportedOk returns a tuple with the CodeChallengeMethodsSupported field value if set, nil otherwise
// and a boolean to check if the value has been set.
func (o *OidcConfiguration) GetCodeChallengeMethodsSupportedOk() ([]string, bool) {
if o == nil || IsNil(o.CodeChallengeMethodsSupported) {
return nil, false
}
return o.CodeChallengeMethodsSupported, true
}
// HasCodeChallengeMethodsSupported returns a boolean if a field has been set.
func (o *OidcConfiguration) HasCodeChallengeMethodsSupported() bool {
if o != nil && !IsNil(o.CodeChallengeMethodsSupported) {
return true
}
return false
}
// SetCodeChallengeMethodsSupported gets a reference to the given []string and assigns it to the CodeChallengeMethodsSupported field.
func (o *OidcConfiguration) SetCodeChallengeMethodsSupported(v []string) {
o.CodeChallengeMethodsSupported = v
}
// GetCredentialsEndpointDraft00 returns the CredentialsEndpointDraft00 field value if set, zero value otherwise.
func (o *OidcConfiguration) GetCredentialsEndpointDraft00() string {
if o == nil || IsNil(o.CredentialsEndpointDraft00) {
var ret string
return ret
}
return *o.CredentialsEndpointDraft00
}
// GetCredentialsEndpointDraft00Ok returns a tuple with the CredentialsEndpointDraft00 field value if set, nil otherwise
// and a boolean to check if the value has been set.
func (o *OidcConfiguration) GetCredentialsEndpointDraft00Ok() (*string, bool) {
if o == nil || IsNil(o.CredentialsEndpointDraft00) {
return nil, false
}
return o.CredentialsEndpointDraft00, true
}
// HasCredentialsEndpointDraft00 returns a boolean if a field has been set.
func (o *OidcConfiguration) HasCredentialsEndpointDraft00() bool {
if o != nil && !IsNil(o.CredentialsEndpointDraft00) {
return true
}
return false
}
// SetCredentialsEndpointDraft00 gets a reference to the given string and assigns it to the CredentialsEndpointDraft00 field.
func (o *OidcConfiguration) SetCredentialsEndpointDraft00(v string) {
o.CredentialsEndpointDraft00 = &v
}
// GetCredentialsSupportedDraft00 returns the CredentialsSupportedDraft00 field value if set, zero value otherwise.
func (o *OidcConfiguration) GetCredentialsSupportedDraft00() []CredentialSupportedDraft00 {
if o == nil || IsNil(o.CredentialsSupportedDraft00) {
var ret []CredentialSupportedDraft00
return ret
}
return o.CredentialsSupportedDraft00
}
// GetCredentialsSupportedDraft00Ok returns a tuple with the CredentialsSupportedDraft00 field value if set, nil otherwise
// and a boolean to check if the value has been set.
func (o *OidcConfiguration) GetCredentialsSupportedDraft00Ok() ([]CredentialSupportedDraft00, bool) {
if o == nil || IsNil(o.CredentialsSupportedDraft00) {
return nil, false
}
return o.CredentialsSupportedDraft00, true
}
// HasCredentialsSupportedDraft00 returns a boolean if a field has been set.
func (o *OidcConfiguration) HasCredentialsSupportedDraft00() bool {
if o != nil && !IsNil(o.CredentialsSupportedDraft00) {
return true
}
return false
}
// SetCredentialsSupportedDraft00 gets a reference to the given []CredentialSupportedDraft00 and assigns it to the CredentialsSupportedDraft00 field.
func (o *OidcConfiguration) SetCredentialsSupportedDraft00(v []CredentialSupportedDraft00) {
o.CredentialsSupportedDraft00 = v
}
// GetEndSessionEndpoint returns the EndSessionEndpoint field value if set, zero value otherwise.
func (o *OidcConfiguration) GetEndSessionEndpoint() string {
if o == nil || IsNil(o.EndSessionEndpoint) {
var ret string
return ret
}
return *o.EndSessionEndpoint
}
// GetEndSessionEndpointOk returns a tuple with the EndSessionEndpoint field value if set, nil otherwise
// and a boolean to check if the value has been set.
func (o *OidcConfiguration) GetEndSessionEndpointOk() (*string, bool) {
if o == nil || IsNil(o.EndSessionEndpoint) {
return nil, false
}
return o.EndSessionEndpoint, true
}
// HasEndSessionEndpoint returns a boolean if a field has been set.
func (o *OidcConfiguration) HasEndSessionEndpoint() bool {
if o != nil && !IsNil(o.EndSessionEndpoint) {
return true
}
return false
}
// SetEndSessionEndpoint gets a reference to the given string and assigns it to the EndSessionEndpoint field.
func (o *OidcConfiguration) SetEndSessionEndpoint(v string) {
o.EndSessionEndpoint = &v
}
// GetFrontchannelLogoutSessionSupported returns the FrontchannelLogoutSessionSupported field value if set, zero value otherwise.
func (o *OidcConfiguration) GetFrontchannelLogoutSessionSupported() bool {
if o == nil || IsNil(o.FrontchannelLogoutSessionSupported) {
var ret bool
return ret
}
return *o.FrontchannelLogoutSessionSupported
}
// GetFrontchannelLogoutSessionSupportedOk returns a tuple with the FrontchannelLogoutSessionSupported field value if set, nil otherwise
// and a boolean to check if the value has been set.
func (o *OidcConfiguration) GetFrontchannelLogoutSessionSupportedOk() (*bool, bool) {
if o == nil || IsNil(o.FrontchannelLogoutSessionSupported) {
return nil, false
}
return o.FrontchannelLogoutSessionSupported, true
}
// HasFrontchannelLogoutSessionSupported returns a boolean if a field has been set.
func (o *OidcConfiguration) HasFrontchannelLogoutSessionSupported() bool {
if o != nil && !IsNil(o.FrontchannelLogoutSessionSupported) {
return true
}
return false
}
// SetFrontchannelLogoutSessionSupported gets a reference to the given bool and assigns it to the FrontchannelLogoutSessionSupported field.
func (o *OidcConfiguration) SetFrontchannelLogoutSessionSupported(v bool) {
o.FrontchannelLogoutSessionSupported = &v
}
// GetFrontchannelLogoutSupported returns the FrontchannelLogoutSupported field value if set, zero value otherwise.
func (o *OidcConfiguration) GetFrontchannelLogoutSupported() bool {
if o == nil || IsNil(o.FrontchannelLogoutSupported) {
var ret bool
return ret
}
return *o.FrontchannelLogoutSupported
}
// GetFrontchannelLogoutSupportedOk returns a tuple with the FrontchannelLogoutSupported field value if set, nil otherwise
// and a boolean to check if the value has been set.
func (o *OidcConfiguration) GetFrontchannelLogoutSupportedOk() (*bool, bool) {
if o == nil || IsNil(o.FrontchannelLogoutSupported) {
return nil, false
}
return o.FrontchannelLogoutSupported, true
}
// HasFrontchannelLogoutSupported returns a boolean if a field has been set.
func (o *OidcConfiguration) HasFrontchannelLogoutSupported() bool {
if o != nil && !IsNil(o.FrontchannelLogoutSupported) {
return true
}
return false
}
// SetFrontchannelLogoutSupported gets a reference to the given bool and assigns it to the FrontchannelLogoutSupported field.
func (o *OidcConfiguration) SetFrontchannelLogoutSupported(v bool) {
o.FrontchannelLogoutSupported = &v
}
// GetGrantTypesSupported returns the GrantTypesSupported field value if set, zero value otherwise.
func (o *OidcConfiguration) GetGrantTypesSupported() []string {
if o == nil || IsNil(o.GrantTypesSupported) {
var ret []string
return ret
}
return o.GrantTypesSupported
}
// GetGrantTypesSupportedOk returns a tuple with the GrantTypesSupported field value if set, nil otherwise
// and a boolean to check if the value has been set.
func (o *OidcConfiguration) GetGrantTypesSupportedOk() ([]string, bool) {
if o == nil || IsNil(o.GrantTypesSupported) {
return nil, false
}
return o.GrantTypesSupported, true
}
// HasGrantTypesSupported returns a boolean if a field has been set.
func (o *OidcConfiguration) HasGrantTypesSupported() bool {
if o != nil && !IsNil(o.GrantTypesSupported) {
return true
}
return false
}
// SetGrantTypesSupported gets a reference to the given []string and assigns it to the GrantTypesSupported field.
func (o *OidcConfiguration) SetGrantTypesSupported(v []string) {
o.GrantTypesSupported = v
}
// GetIdTokenSignedResponseAlg returns the IdTokenSignedResponseAlg field value
func (o *OidcConfiguration) GetIdTokenSignedResponseAlg() []string {
if o == nil {
var ret []string
return ret
}
return o.IdTokenSignedResponseAlg
}
// GetIdTokenSignedResponseAlgOk returns a tuple with the IdTokenSignedResponseAlg field value
// and a boolean to check if the value has been set.
func (o *OidcConfiguration) GetIdTokenSignedResponseAlgOk() ([]string, bool) {
if o == nil {
return nil, false
}
return o.IdTokenSignedResponseAlg, true
}
// SetIdTokenSignedResponseAlg sets field value
func (o *OidcConfiguration) SetIdTokenSignedResponseAlg(v []string) {
o.IdTokenSignedResponseAlg = v
}
// GetIdTokenSigningAlgValuesSupported returns the IdTokenSigningAlgValuesSupported field value
func (o *OidcConfiguration) GetIdTokenSigningAlgValuesSupported() []string {
if o == nil {
var ret []string
return ret
}
return o.IdTokenSigningAlgValuesSupported
}
// GetIdTokenSigningAlgValuesSupportedOk returns a tuple with the IdTokenSigningAlgValuesSupported field value
// and a boolean to check if the value has been set.
func (o *OidcConfiguration) GetIdTokenSigningAlgValuesSupportedOk() ([]string, bool) {
if o == nil {
return nil, false
}
return o.IdTokenSigningAlgValuesSupported, true
}
// SetIdTokenSigningAlgValuesSupported sets field value
func (o *OidcConfiguration) SetIdTokenSigningAlgValuesSupported(v []string) {
o.IdTokenSigningAlgValuesSupported = v
}
// GetIssuer returns the Issuer field value
func (o *OidcConfiguration) GetIssuer() string {
if o == nil {
var ret string
return ret
}
return o.Issuer
}
// GetIssuerOk returns a tuple with the Issuer field value
// and a boolean to check if the value has been set.
func (o *OidcConfiguration) GetIssuerOk() (*string, bool) {
if o == nil {
return nil, false
}
return &o.Issuer, true
}
// SetIssuer sets field value
func (o *OidcConfiguration) SetIssuer(v string) {
o.Issuer = v
}
// GetJwksUri returns the JwksUri field value
func (o *OidcConfiguration) GetJwksUri() string {
if o == nil {
var ret string
return ret
}
return o.JwksUri
}
// GetJwksUriOk returns a tuple with the JwksUri field value
// and a boolean to check if the value has been set.
func (o *OidcConfiguration) GetJwksUriOk() (*string, bool) {
if o == nil {
return nil, false
}
return &o.JwksUri, true
}
// SetJwksUri sets field value
func (o *OidcConfiguration) SetJwksUri(v string) {
o.JwksUri = v
}
// GetRegistrationEndpoint returns the RegistrationEndpoint field value if set, zero value otherwise.
func (o *OidcConfiguration) GetRegistrationEndpoint() string {
if o == nil || IsNil(o.RegistrationEndpoint) {
var ret string
return ret
}
return *o.RegistrationEndpoint
}
// GetRegistrationEndpointOk returns a tuple with the RegistrationEndpoint field value if set, nil otherwise
// and a boolean to check if the value has been set.
func (o *OidcConfiguration) GetRegistrationEndpointOk() (*string, bool) {
if o == nil || IsNil(o.RegistrationEndpoint) {
return nil, false
}
return o.RegistrationEndpoint, true
}
// HasRegistrationEndpoint returns a boolean if a field has been set.
func (o *OidcConfiguration) HasRegistrationEndpoint() bool {
if o != nil && !IsNil(o.RegistrationEndpoint) {
return true
}
return false
}
// SetRegistrationEndpoint gets a reference to the given string and assigns it to the RegistrationEndpoint field.
func (o *OidcConfiguration) SetRegistrationEndpoint(v string) {
o.RegistrationEndpoint = &v
}
// GetRequestObjectSigningAlgValuesSupported returns the RequestObjectSigningAlgValuesSupported field value if set, zero value otherwise.
func (o *OidcConfiguration) GetRequestObjectSigningAlgValuesSupported() []string {
if o == nil || IsNil(o.RequestObjectSigningAlgValuesSupported) {
var ret []string
return ret
}
return o.RequestObjectSigningAlgValuesSupported
}
// GetRequestObjectSigningAlgValuesSupportedOk returns a tuple with the RequestObjectSigningAlgValuesSupported field value if set, nil otherwise
// and a boolean to check if the value has been set.
func (o *OidcConfiguration) GetRequestObjectSigningAlgValuesSupportedOk() ([]string, bool) {
if o == nil || IsNil(o.RequestObjectSigningAlgValuesSupported) {
return nil, false
}
return o.RequestObjectSigningAlgValuesSupported, true
}
// HasRequestObjectSigningAlgValuesSupported returns a boolean if a field has been set.
func (o *OidcConfiguration) HasRequestObjectSigningAlgValuesSupported() bool {
if o != nil && !IsNil(o.RequestObjectSigningAlgValuesSupported) {
return true
}
return false
}
// SetRequestObjectSigningAlgValuesSupported gets a reference to the given []string and assigns it to the RequestObjectSigningAlgValuesSupported field.
func (o *OidcConfiguration) SetRequestObjectSigningAlgValuesSupported(v []string) {
o.RequestObjectSigningAlgValuesSupported = v
}
// GetRequestParameterSupported returns the RequestParameterSupported field value if set, zero value otherwise.
func (o *OidcConfiguration) GetRequestParameterSupported() bool {
if o == nil || IsNil(o.RequestParameterSupported) {
var ret bool
return ret
}
return *o.RequestParameterSupported
}
// GetRequestParameterSupportedOk returns a tuple with the RequestParameterSupported field value if set, nil otherwise
// and a boolean to check if the value has been set.
func (o *OidcConfiguration) GetRequestParameterSupportedOk() (*bool, bool) {
if o == nil || IsNil(o.RequestParameterSupported) {
return nil, false
}
return o.RequestParameterSupported, true
}
// HasRequestParameterSupported returns a boolean if a field has been set.
func (o *OidcConfiguration) HasRequestParameterSupported() bool {
if o != nil && !IsNil(o.RequestParameterSupported) {
return true
}
return false
}
// SetRequestParameterSupported gets a reference to the given bool and assigns it to the RequestParameterSupported field.
func (o *OidcConfiguration) SetRequestParameterSupported(v bool) {
o.RequestParameterSupported = &v
}
// GetRequestUriParameterSupported returns the RequestUriParameterSupported field value if set, zero value otherwise.
func (o *OidcConfiguration) GetRequestUriParameterSupported() bool {
if o == nil || IsNil(o.RequestUriParameterSupported) {
var ret bool
return ret
}
return *o.RequestUriParameterSupported
}
// GetRequestUriParameterSupportedOk returns a tuple with the RequestUriParameterSupported field value if set, nil otherwise
// and a boolean to check if the value has been set.
func (o *OidcConfiguration) GetRequestUriParameterSupportedOk() (*bool, bool) {
if o == nil || IsNil(o.RequestUriParameterSupported) {
return nil, false
}
return o.RequestUriParameterSupported, true
}
// HasRequestUriParameterSupported returns a boolean if a field has been set.
func (o *OidcConfiguration) HasRequestUriParameterSupported() bool {
if o != nil && !IsNil(o.RequestUriParameterSupported) {
return true
}
return false
}
// SetRequestUriParameterSupported gets a reference to the given bool and assigns it to the RequestUriParameterSupported field.
func (o *OidcConfiguration) SetRequestUriParameterSupported(v bool) {
o.RequestUriParameterSupported = &v
}
// GetRequireRequestUriRegistration returns the RequireRequestUriRegistration field value if set, zero value otherwise.
func (o *OidcConfiguration) GetRequireRequestUriRegistration() bool {
if o == nil || IsNil(o.RequireRequestUriRegistration) {
var ret bool
return ret
}
return *o.RequireRequestUriRegistration
}
// GetRequireRequestUriRegistrationOk returns a tuple with the RequireRequestUriRegistration field value if set, nil otherwise
// and a boolean to check if the value has been set.
func (o *OidcConfiguration) GetRequireRequestUriRegistrationOk() (*bool, bool) {
if o == nil || IsNil(o.RequireRequestUriRegistration) {
return nil, false
}
return o.RequireRequestUriRegistration, true
}
// HasRequireRequestUriRegistration returns a boolean if a field has been set.
func (o *OidcConfiguration) HasRequireRequestUriRegistration() bool {
if o != nil && !IsNil(o.RequireRequestUriRegistration) {
return true
}
return false
}
// SetRequireRequestUriRegistration gets a reference to the given bool and assigns it to the RequireRequestUriRegistration field.
func (o *OidcConfiguration) SetRequireRequestUriRegistration(v bool) {
o.RequireRequestUriRegistration = &v
}
// GetResponseModesSupported returns the ResponseModesSupported field value if set, zero value otherwise.
func (o *OidcConfiguration) GetResponseModesSupported() []string {
if o == nil || IsNil(o.ResponseModesSupported) {
var ret []string
return ret
}
return o.ResponseModesSupported
}
// GetResponseModesSupportedOk returns a tuple with the ResponseModesSupported field value if set, nil otherwise
// and a boolean to check if the value has been set.
func (o *OidcConfiguration) GetResponseModesSupportedOk() ([]string, bool) {
if o == nil || IsNil(o.ResponseModesSupported) {
return nil, false
}
return o.ResponseModesSupported, true
}
// HasResponseModesSupported returns a boolean if a field has been set.
func (o *OidcConfiguration) HasResponseModesSupported() bool {
if o != nil && !IsNil(o.ResponseModesSupported) {
return true
}
return false
}
// SetResponseModesSupported gets a reference to the given []string and assigns it to the ResponseModesSupported field.
func (o *OidcConfiguration) SetResponseModesSupported(v []string) {
o.ResponseModesSupported = v
}
// GetResponseTypesSupported returns the ResponseTypesSupported field value
func (o *OidcConfiguration) GetResponseTypesSupported() []string {
if o == nil {
var ret []string
return ret
}
return o.ResponseTypesSupported
}
// GetResponseTypesSupportedOk returns a tuple with the ResponseTypesSupported field value
// and a boolean to check if the value has been set.
func (o *OidcConfiguration) GetResponseTypesSupportedOk() ([]string, bool) {
if o == nil {
return nil, false
}
return o.ResponseTypesSupported, true
}
// SetResponseTypesSupported sets field value
func (o *OidcConfiguration) SetResponseTypesSupported(v []string) {
o.ResponseTypesSupported = v
}
// GetRevocationEndpoint returns the RevocationEndpoint field value if set, zero value otherwise.
func (o *OidcConfiguration) GetRevocationEndpoint() string {
if o == nil || IsNil(o.RevocationEndpoint) {
var ret string
return ret
}
return *o.RevocationEndpoint
}
// GetRevocationEndpointOk returns a tuple with the RevocationEndpoint field value if set, nil otherwise
// and a boolean to check if the value has been set.
func (o *OidcConfiguration) GetRevocationEndpointOk() (*string, bool) {
if o == nil || IsNil(o.RevocationEndpoint) {
return nil, false
}
return o.RevocationEndpoint, true
}
// HasRevocationEndpoint returns a boolean if a field has been set.
func (o *OidcConfiguration) HasRevocationEndpoint() bool {
if o != nil && !IsNil(o.RevocationEndpoint) {
return true
}
return false
}
// SetRevocationEndpoint gets a reference to the given string and assigns it to the RevocationEndpoint field.
func (o *OidcConfiguration) SetRevocationEndpoint(v string) {
o.RevocationEndpoint = &v
}
// GetScopesSupported returns the ScopesSupported field value if set, zero value otherwise.
func (o *OidcConfiguration) GetScopesSupported() []string {
if o == nil || IsNil(o.ScopesSupported) {
var ret []string
return ret
}
return o.ScopesSupported
}
// GetScopesSupportedOk returns a tuple with the ScopesSupported field value if set, nil otherwise
// and a boolean to check if the value has been set.
func (o *OidcConfiguration) GetScopesSupportedOk() ([]string, bool) {
if o == nil || IsNil(o.ScopesSupported) {
return nil, false
}
return o.ScopesSupported, true
}
// HasScopesSupported returns a boolean if a field has been set.
func (o *OidcConfiguration) HasScopesSupported() bool {
if o != nil && !IsNil(o.ScopesSupported) {
return true
}
return false
}
// SetScopesSupported gets a reference to the given []string and assigns it to the ScopesSupported field.
func (o *OidcConfiguration) SetScopesSupported(v []string) {
o.ScopesSupported = v
}
// GetSubjectTypesSupported returns the SubjectTypesSupported field value
func (o *OidcConfiguration) GetSubjectTypesSupported() []string {
if o == nil {
var ret []string
return ret
}
return o.SubjectTypesSupported
}
// GetSubjectTypesSupportedOk returns a tuple with the SubjectTypesSupported field value
// and a boolean to check if the value has been set.
func (o *OidcConfiguration) GetSubjectTypesSupportedOk() ([]string, bool) {
if o == nil {
return nil, false
}
return o.SubjectTypesSupported, true
}
// SetSubjectTypesSupported sets field value
func (o *OidcConfiguration) SetSubjectTypesSupported(v []string) {
o.SubjectTypesSupported = v
}
// GetTokenEndpoint returns the TokenEndpoint field value
func (o *OidcConfiguration) GetTokenEndpoint() string {
if o == nil {
var ret string
return ret
}
return o.TokenEndpoint
}
// GetTokenEndpointOk returns a tuple with the TokenEndpoint field value
// and a boolean to check if the value has been set.
func (o *OidcConfiguration) GetTokenEndpointOk() (*string, bool) {
if o == nil {
return nil, false
}
return &o.TokenEndpoint, true
}
// SetTokenEndpoint sets field value
func (o *OidcConfiguration) SetTokenEndpoint(v string) {
o.TokenEndpoint = v
}
// GetTokenEndpointAuthMethodsSupported returns the TokenEndpointAuthMethodsSupported field value if set, zero value otherwise.
func (o *OidcConfiguration) GetTokenEndpointAuthMethodsSupported() []string {
if o == nil || IsNil(o.TokenEndpointAuthMethodsSupported) {
var ret []string
return ret
}
return o.TokenEndpointAuthMethodsSupported
}
// GetTokenEndpointAuthMethodsSupportedOk returns a tuple with the TokenEndpointAuthMethodsSupported field value if set, nil otherwise
// and a boolean to check if the value has been set.
func (o *OidcConfiguration) GetTokenEndpointAuthMethodsSupportedOk() ([]string, bool) {
if o == nil || IsNil(o.TokenEndpointAuthMethodsSupported) {
return nil, false
}
return o.TokenEndpointAuthMethodsSupported, true
}
// HasTokenEndpointAuthMethodsSupported returns a boolean if a field has been set.
func (o *OidcConfiguration) HasTokenEndpointAuthMethodsSupported() bool {
if o != nil && !IsNil(o.TokenEndpointAuthMethodsSupported) {
return true
}
return false
}
// SetTokenEndpointAuthMethodsSupported gets a reference to the given []string and assigns it to the TokenEndpointAuthMethodsSupported field.
func (o *OidcConfiguration) SetTokenEndpointAuthMethodsSupported(v []string) {
o.TokenEndpointAuthMethodsSupported = v
}
// GetUserinfoEndpoint returns the UserinfoEndpoint field value if set, zero value otherwise.
func (o *OidcConfiguration) GetUserinfoEndpoint() string {
if o == nil || IsNil(o.UserinfoEndpoint) {
var ret string
return ret
}
return *o.UserinfoEndpoint
}
// GetUserinfoEndpointOk returns a tuple with the UserinfoEndpoint field value if set, nil otherwise
// and a boolean to check if the value has been set.
func (o *OidcConfiguration) GetUserinfoEndpointOk() (*string, bool) {
if o == nil || IsNil(o.UserinfoEndpoint) {
return nil, false
}
return o.UserinfoEndpoint, true
}
// HasUserinfoEndpoint returns a boolean if a field has been set.
func (o *OidcConfiguration) HasUserinfoEndpoint() bool {
if o != nil && !IsNil(o.UserinfoEndpoint) {
return true
}
return false
}
// SetUserinfoEndpoint gets a reference to the given string and assigns it to the UserinfoEndpoint field.
func (o *OidcConfiguration) SetUserinfoEndpoint(v string) {
o.UserinfoEndpoint = &v
}
// GetUserinfoSignedResponseAlg returns the UserinfoSignedResponseAlg field value
func (o *OidcConfiguration) GetUserinfoSignedResponseAlg() []string {
if o == nil {
var ret []string
return ret
}
return o.UserinfoSignedResponseAlg
}
// GetUserinfoSignedResponseAlgOk returns a tuple with the UserinfoSignedResponseAlg field value
// and a boolean to check if the value has been set.
func (o *OidcConfiguration) GetUserinfoSignedResponseAlgOk() ([]string, bool) {
if o == nil {
return nil, false
}
return o.UserinfoSignedResponseAlg, true
}
// SetUserinfoSignedResponseAlg sets field value