forked from auth0/auth0-java
-
Notifications
You must be signed in to change notification settings - Fork 0
Expand file tree
/
Copy pathClient.java
More file actions
950 lines (854 loc) · 28.3 KB
/
Client.java
File metadata and controls
950 lines (854 loc) · 28.3 KB
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
package com.auth0.json.mgmt.client;
import com.auth0.json.mgmt.tokenquota.TokenQuota;
import com.fasterxml.jackson.annotation.JsonCreator;
import com.fasterxml.jackson.annotation.JsonIgnoreProperties;
import com.fasterxml.jackson.annotation.JsonInclude;
import com.fasterxml.jackson.annotation.JsonProperty;
import java.util.List;
import java.util.Map;
/**
* Class that represents an Auth0 Application object. Related to the {@link com.auth0.client.mgmt.ClientsEntity} entity.
*/
@SuppressWarnings({"WeakerAccess", "unused"})
@JsonIgnoreProperties(ignoreUnknown = true)
@JsonInclude(JsonInclude.Include.NON_NULL)
public class Client {
@JsonProperty("name")
private String name;
@JsonProperty("description")
private String description;
@JsonProperty("client_id")
private String clientId;
@JsonProperty("client_secret")
private String clientSecret;
@JsonProperty("app_type")
private String appType;
@JsonProperty("logo_uri")
private String logoUri;
@JsonProperty("is_first_party")
private Boolean isFirstParty;
@JsonProperty("is_token_endpoint_ip_header_trusted")
private Boolean isTokenEndpointIpHeaderTrusted;
@JsonProperty("oidc_conformant")
private Boolean oidcConformant;
@JsonProperty("callbacks")
private List<String> callbacks;
@JsonProperty("allowed_origins")
private List<String> allowedOrigins;
@JsonProperty("web_origins")
private List<String> webOrigins;
@JsonProperty("grant_types")
private List<String> grantTypes;
@JsonProperty("client_aliases")
private List<String> clientAliases;
@JsonProperty("allowed_clients")
private List<String> allowedClients;
@JsonProperty("allowed_logout_urls")
private List<String> allowedLogoutUrls;
@JsonProperty("jwt_configuration")
private JWTConfiguration jwtConfiguration;
@JsonProperty("signing_keys")
private List<SigningKey> signingKeys;
@JsonProperty("encryption_key")
private EncryptionKey encryptionKey;
@JsonProperty("sso")
private Boolean sso;
@JsonProperty("sso_disabled")
private Boolean ssoDisabled;
@JsonProperty("custom_login_page_on")
private Boolean customLoginPageOn;
@JsonProperty("is_heroku_app")
private Boolean isHerokuApp;
@JsonProperty("initiate_login_uri")
private String initiateLoginUri;
@JsonProperty("custom_login_page")
private String customLoginPage;
@JsonProperty("custom_login_page_preview")
private String customLoginPagePreview;
@JsonProperty("form_template")
private String formTemplate;
@JsonProperty("addons")
private Addons addons;
@JsonProperty("token_endpoint_auth_method")
private String tokenEndpointAuthMethod;
@JsonProperty("client_metadata")
private Map<String, Object> clientMetadata;
@JsonProperty("mobile")
private Mobile mobile;
@JsonProperty("refresh_token")
private RefreshToken refreshToken;
@JsonProperty("organization_usage")
private String organizationUsage;
@JsonProperty("organization_require_behavior")
private String organizationRequireBehavior;
@JsonProperty("tenant")
private String tenant;
@JsonProperty("global")
private Boolean global;
@JsonProperty("cross_origin_authentication")
private Boolean crossOriginAuth;
@JsonProperty("cross_origin_loc")
private String crossOriginLoc;
@JsonProperty("client_authentication_methods")
private ClientAuthenticationMethods clientAuthenticationMethods;
@JsonProperty("require_pushed_authorization_requests")
private Boolean requiresPushedAuthorizationRequests;
@JsonProperty("oidc_backchannel_logout")
private OIDCBackchannelLogout oidcBackchannelLogout;
@JsonProperty("signed_request_object")
private SignedRequest signedRequest;
@JsonProperty("compliance_level")
private String complianceLevel;
@JsonProperty("require_proof_of_possession")
private Boolean requireProofOfPossession;
@JsonProperty("default_organization")
private ClientDefaultOrganization defaultOrganization;
@JsonProperty("token_quota")
private TokenQuota tokenQuota;
/**
* Getter for the name of the tenant this client belongs to.
* @return the tenant name
*/
@JsonProperty("tenant")
public String getTenant() {
return tenant;
}
/**
* Setter for the name of the tenant this client belongs to.
* @param tenant the name of the tenant
*/
@JsonProperty("tenant")
public void setTenant(String tenant) {
this.tenant = tenant;
}
/**
* Setter whether this is a global 'All Applications' client representing legacy tenant settings (true) or a regular client (false).
* @param global whether legacy tenant or regular client
*/
@JsonProperty("global")
public void setGlobal(Boolean global) {
this.global = global;
}
/**
* Whether this is a global 'All Applications' client representing legacy tenant settings (true) or a regular client (false).
* @return client representing legacy tenant settings (true) or a regular client (false).
*/
@JsonProperty("global")
public Boolean getGlobal() {
return global;
}
/**
* Creates a new Application instance setting the name property.
*
* @param name of the application.
*/
@JsonCreator
public Client(@JsonProperty("name") String name) {
this.name = name;
}
/**
* Getter for the name of the application.
*
* @return the name.
*/
@JsonProperty("name")
public String getName() {
return name;
}
/**
* Setter for the application name.
*
* @param name the name to use.
*/
@JsonProperty("name")
public void setName(String name) {
this.name = name;
}
/**
* Getter for the description of the application.
*
* @return the description.
*/
@JsonProperty("description")
public String getDescription() {
return description;
}
/**
* Setter for the description of the application.
*
* @param description the description to use.
*/
@JsonProperty("description")
public void setDescription(String description) {
this.description = description;
}
/**
* Getter for the application's client id.
*
* @return the application's client id.
*/
@JsonProperty("client_id")
public String getClientId() {
return clientId;
}
/**
* Getter for the application's client secret.
*
* @return the application's client secret.
*/
@JsonProperty("client_secret")
public String getClientSecret() {
return clientSecret;
}
/**
* Setter for the application's client secret. If no secret is provided, it will be generated by the Auth0 Server upon Application creation.
*
* @param clientSecret the secret to use.
*/
@JsonProperty("client_secret")
public void setClientSecret(String clientSecret) {
this.clientSecret = clientSecret;
}
/**
* Getter for the type that this application represents.
*
* @return the application's type.
*/
@JsonProperty("app_type")
public String getAppType() {
return appType;
}
/**
* Setter for the type that this application represents.
*
* @param appType the application type to set.
*/
@JsonProperty("app_type")
public void setAppType(String appType) {
this.appType = appType;
}
/**
* Getter for the URI of the application logo.
*
* @return the application's logo URI.
*/
@JsonProperty("logo_uri")
public String getLogoUri() {
return logoUri;
}
/**
* Setter for the application logo URI. An image with size 150x150 is recommended.
*
* @param logoUri the logo URI to set.
*/
@JsonProperty("logo_uri")
public void setLogoUri(String logoUri) {
this.logoUri = logoUri;
}
/**
* Whether this application is a first party client or not.
*
* @return true if the application is first party, false otherwise.
*/
@JsonProperty("is_first_party")
public Boolean isFirstParty() {
return isFirstParty;
}
/**
* Setter for whether this application is a first party client or not.
*
* @param isFirstParty whether the application is a first party client or not.
*/
@JsonProperty("is_first_party")
public void setIsFirstParty(Boolean isFirstParty) {
this.isFirstParty = isFirstParty;
}
/**
* Whether the token endpoint IP header is trusted for this application.
*
* @return true if the token endpoint IP header is trusted, false otherwise.
*/
public Boolean getIsTokenEndpointIpHeaderTrusted() {
return isTokenEndpointIpHeaderTrusted;
}
/**
* Setter for whether the token endpoint IP header is trusted for this application.
*
* @param isTokenEndpointIpHeaderTrusted whether the token endpoint IP header is trusted or not.
*/
public void setIsTokenEndpointIpHeaderTrusted(Boolean isTokenEndpointIpHeaderTrusted) {
this.isTokenEndpointIpHeaderTrusted = isTokenEndpointIpHeaderTrusted;
}
/**
* Whether this application will conform to strict Open ID Connect specifications or not.
*
* @return true if the application will conform to strict OIDC specifications, false otherwise.
*/
@JsonProperty("oidc_conformant")
public Boolean isOIDCConformant() {
return oidcConformant;
}
/**
* Setter for the strict conform to the Open ID Connect specifications.
*
* @param oidcConformant whether the application will conform to strict OIDC specifications or not.
*/
@JsonProperty("oidc_conformant")
public void setOIDCConformant(Boolean oidcConformant) {
this.oidcConformant = oidcConformant;
}
/**
* Getter for the list of allowed callback urls for the application.
*
* @return the list of callback urls.
*/
@JsonProperty("callbacks")
public List<String> getCallbacks() {
return callbacks;
}
/**
* Setter for the list of allowed callback urls for the application.
*
* @param callbacks the allowed callback urls to set.
*/
@JsonProperty("callbacks")
public void setCallbacks(List<String> callbacks) {
this.callbacks = callbacks;
}
/**
* Getter for the list of allowed origins for the application.
*
* @return the list of allowed origins.
*/
@JsonProperty("allowed_origins")
public List<String> getAllowedOrigins() {
return allowedOrigins;
}
/**
* Setter for the list of allowed origins for the application.
*
* @param allowedOrigins the allowed callback urls to set.
*/
@JsonProperty("allowed_origins")
public void setAllowedOrigins(List<String> allowedOrigins) {
this.allowedOrigins = allowedOrigins;
}
/**
* Setter for the list of web origins for the application.
*
* @param webOrigins the web origins to set.
*/
@JsonProperty("web_origins")
public void setWebOrigins(List<String> webOrigins) {
this.webOrigins = webOrigins;
}
/**
* Getter for the list of web origins for the application.
*
* @return the list of web origins.
*/
@JsonProperty("web_origins")
public List<String> getWebOrigins() {
return webOrigins;
}
/**
* Setter for the list of grant types for the application.
* See allowed values at https://auth0.com/docs/applications/application-grant-types.
*
* @param grantTypes the list of grant types to set.
*/
@JsonProperty("grant_types")
public void setGrantTypes(List<String> grantTypes) {
this.grantTypes = grantTypes;
}
/**
* Getter for the list of grant types for the application.
*
* @return the list of grant types.
*/
@JsonProperty("grant_types")
public List<String> getGrantTypes() {
return grantTypes;
}
/**
* Getter for the list of application aliases.
*
* @return the list of application aliases.
*/
@JsonProperty("client_aliases")
public List<String> getClientAliases() {
return clientAliases;
}
/**
* Setter for the list of application aliases.
*
* @param clientAliases the application aliases to set.
*/
@JsonProperty("client_aliases")
public void setClientAliases(List<String> clientAliases) {
this.clientAliases = clientAliases;
}
/**
* Getter for the list of applications that will be allowed to make a delegation request.
*
* @return the list of allowed applications.
*/
@JsonProperty("allowed_clients")
public List<String> getAllowedClients() {
return allowedClients;
}
/**
* Setter for the list of applications that will be allowed to make a delegation request.
*
* @param allowedClients the list of allowed application.
*/
@JsonProperty("allowed_clients")
public void setAllowedClients(List<String> allowedClients) {
this.allowedClients = allowedClients;
}
/**
* Getter for the application list of URLs that are valid to redirect to after logout from Auth0.
*
* @return the list of logout urls.
*/
@JsonProperty("allowed_logout_urls")
public List<String> getAllowedLogoutUrls() {
return allowedLogoutUrls;
}
/**
* Setter for the application list of URLs that are valid to redirect to after logout from Auth0.
*
* @param allowedLogoutUrls the allowed logout urls to set.
*/
@JsonProperty("allowed_logout_urls")
public void setAllowedLogoutUrls(List<String> allowedLogoutUrls) {
this.allowedLogoutUrls = allowedLogoutUrls;
}
/**
* Getter for the JWT configuration object.
*
* @return the JWT Configuration.
*/
@JsonProperty("jwt_configuration")
public JWTConfiguration getJWTConfiguration() {
return jwtConfiguration;
}
/**
* Setter for the JWT configuration object.
*
* @param jwtConfiguration the JWT configuration to set.
*/
@JsonProperty("jwt_configuration")
public void setJWTConfiguration(JWTConfiguration jwtConfiguration) {
this.jwtConfiguration = jwtConfiguration;
}
/**
* Getter for the application signing keys.
*
* @return the application signing keys.
*/
@JsonProperty("signing_keys")
public List<SigningKey> getSigningKeys() {
return signingKeys;
}
/**
* Getter for the encryption Key.
*
* @return the encryption key.
*/
@JsonProperty("encryption_key")
public EncryptionKey getEncryptionKey() {
return encryptionKey;
}
/**
* Setter for the encryption Key.
*
* @param encryptionKey the encryption key.
*/
@JsonProperty("encryption_key")
public void setEncryptionKey(EncryptionKey encryptionKey) {
this.encryptionKey = encryptionKey;
}
/**
* Whether to use Auth0 instead of the Identity Provider to do Single Sign On or not.
*
* @return true if this application will use Auth0 for SSO instead of the Identity Provider or not.
*/
@JsonProperty("sso")
public Boolean useAuth0SSO() {
return sso;
}
/**
* Sets if Auth0 will do Single Sign On instead of the Identity Provider.
*
* @param useAuth0SSO whether to use Auth0 instead of the Identity Provider to do Single Sign On or not.
*/
@JsonProperty("sso")
public void setUseAuth0SSO(Boolean useAuth0SSO) {
this.sso = useAuth0SSO;
}
/**
* Whether Single Sign On is disabled or not for this application.
*
* @return true is SSO is disabled for this application, false otherwise.
*/
@JsonProperty("sso_disabled")
public Boolean isSSODisabled() {
return ssoDisabled;
}
/**
* Sets if Single Sign On is disabled for this application or not.
*
* @param ssoDisabled whether SSO is disabled for this application or not.
*/
@JsonProperty("sso_disabled")
public void setSSODisabled(Boolean ssoDisabled) {
this.ssoDisabled = ssoDisabled;
}
/**
* Whether to use a custom login page or the default one.
*
* @return true if this application uses a custom login page, false otherwise.
*/
@JsonProperty("custom_login_page_on")
public Boolean useCustomLoginPage() {
return customLoginPageOn;
}
/**
* Sets if this application should use a custom login page or the default one.
*
* @param useCustomLoginPage true if this application uses a custom login page, false otherwise.
*/
@JsonProperty("custom_login_page_on")
public void setUseCustomLoginPage(Boolean useCustomLoginPage) {
this.customLoginPageOn = useCustomLoginPage;
}
/**
* Getter for the initiate login URI.
*
* @return the initiate login URI.
*/
@JsonProperty("initiate_login_uri")
public String getInitiateLoginUri() {
return initiateLoginUri;
}
/**
* Setter for the initiate login URI.
*
* @param initiateLoginUri the initiate login URI to set.
*/
@JsonProperty("initiate_login_uri")
public void setInitiateLoginUri(String initiateLoginUri) {
this.initiateLoginUri = initiateLoginUri;
}
/**
* Whether this application is a Heroku application or not.
*
* @return true if this application is a Heroku application, false otherwise.
*/
@JsonProperty("is_heroku_app")
public Boolean isHerokuApp() {
return isHerokuApp;
}
/**
* Getter for the custom login page HTML code.
*
* @return the custom login page HTML code.
*/
@JsonProperty("custom_login_page")
public String getCustomLoginPage() {
return customLoginPage;
}
/**
* Setter for the custom login page HTML code.
*
* @param customLoginPage the custom login page HTML code.
*/
@JsonProperty("custom_login_page")
public void setCustomLoginPage(String customLoginPage) {
this.customLoginPage = customLoginPage;
}
/**
* Getter for the custom login page preview HTML code.
*
* @return the custom login page preview HTML code.
*/
@JsonProperty("custom_login_page_preview")
public String getCustomLoginPagePreview() {
return customLoginPagePreview;
}
/**
* Setter for the custom login page preview HTML code.
*
* @param customLoginPagePreview the custom login page preview HTML code.
*/
@JsonProperty("custom_login_page_preview")
public void setCustomLoginPagePreview(String customLoginPagePreview) {
this.customLoginPagePreview = customLoginPagePreview;
}
/**
* Getter for the WS federation form template.
*
* @return the form template
*/
@JsonProperty("form_template")
public String getFormTemplate() {
return formTemplate;
}
/**
* Setter for the WS federation form template.
*
* @param formTemplate the form template to set.
*/
@JsonProperty("form_template")
public void setFormTemplate(String formTemplate) {
this.formTemplate = formTemplate;
}
/**
* Getter for the addons or plugins associated with an application in Auth0.
*
* @return the addons for this application.
*/
@JsonProperty("addons")
public Addons getAddons() {
return addons;
}
/**
* Setter for the addons or plugins associated with an application in Auth0.
*
* @param addons the addons to set for this application.
*/
@JsonProperty("addons")
public void setAddons(Addons addons) {
this.addons = addons;
}
/**
* Getter for the requested authentication method for the token endpoint.
*
* @return the requested authentication method.
*/
@JsonProperty("token_endpoint_auth_method")
public String getTokenEndpointAuthMethod() {
return tokenEndpointAuthMethod;
}
/**
* Setter for the requested authentication method for the token endpoint. Possible values are 'none' (public application without a client secret), 'client_secret_post' (application uses HTTP POST parameters) or 'client_secret_basic' (application uses HTTP Basic).
*
* @param authMethod the authentication method to set.
*/
@JsonProperty("token_endpoint_auth_method")
public void setTokenEndpointAuthMethod(String authMethod) {
this.tokenEndpointAuthMethod = authMethod;
}
/**
* Getter for the metadata associated with the application.
*
* @return the application metadata.
*/
@JsonProperty("client_metadata")
public Map<String, Object> getClientMetadata() {
return clientMetadata;
}
/**
* Setter for the metadata associated with the application, in the form of an object with string values (max 255 chars). Maximum of 10 metadata properties allowed.
*
* @param clientMetadata the application metadata to set.
*/
@JsonProperty("client_metadata")
public void setClientMetadata(Map<String, Object> clientMetadata) {
this.clientMetadata = clientMetadata;
}
/**
* Getter for the configuration related to native mobile apps.
*
* @return the mobile configuration.
*/
@JsonProperty("mobile")
public Mobile getMobile() {
return mobile;
}
/**
* Setter for the configuration related to native mobile apps.
*
* @param mobile the mobile configuration to set.
*/
@JsonProperty("mobile")
public void setMobile(Mobile mobile) {
this.mobile = mobile;
}
/**
* Getter for the configuration related to refresh tokens.
*
* @return the refresh token configuration.
*/
public RefreshToken getRefreshToken() {
return refreshToken;
}
/**
* Setter for the configuration related to refresh tokens.
*
* @param refreshToken the refresh token configuration to set.
*/
public void setRefreshToken(RefreshToken refreshToken) {
this.refreshToken = refreshToken;
}
/**
* @return the organization usage value
*/
public String getOrganizationUsage() {
return organizationUsage;
}
/**
* Sets the value of the organization_usage field
*
* @param organizationUsage the organization_usage value
*/
public void setOrganizationUsage(String organizationUsage) {
this.organizationUsage = organizationUsage;
}
/**
* @return the organization require behavior value
*/
public String getOrganizationRequireBehavior() {
return organizationRequireBehavior;
}
/**
* Sets the value of the organization_require_behavior field
* @param organizationRequireBehavior the organization_require_behavior value
*/
public void setOrganizationRequireBehavior(String organizationRequireBehavior) {
this.organizationRequireBehavior = organizationRequireBehavior;
}
/**
* Setter whether this client can be used to make cross-origin authentication requests (true) or it is not allowed to make such requests (false).
* @param crossOriginAuth whether an application can make cross-origin authentication requests or not
*/
@JsonProperty("cross_origin_authentication")
public void setCrossOriginAuth(Boolean crossOriginAuth) {
this.crossOriginAuth = crossOriginAuth;
}
/**
* Whether this client can be used to make cross-origin authentication requests (true) or it is not allowed to make such requests (false).
* @return true if application can make cross-origin authentication requests, false otherwise
*/
@JsonProperty("cross_origin_authentication")
public Boolean getCrossOriginAuth() {
return crossOriginAuth;
}
/**
* URL of the location in your site where the cross-origin verification takes place for the cross-origin auth flow when performing Auth in your own domain instead of Auth0 hosted login page.
* @param crossOriginLoc url location for cross-origin verification
*/
@JsonProperty("cross_origin_loc")
public void setCrossOriginLoc(String crossOriginLoc) {
this.crossOriginLoc = crossOriginLoc;
}
/**
* Getter for the URL of the location in your site where the cross-origin verification takes place for the cross-origin auth flow when performing Auth in your own domain instead of Auth0 hosted login page.
* @return URL of the location in your site where the cross-origin verification takes place
*/
@JsonProperty("cross_origin_loc")
public String getCrossOriginLoc() {
return crossOriginLoc;
}
public void setClientAuthenticationMethods(ClientAuthenticationMethods clientAuthenticationMethods) {
this.clientAuthenticationMethods = clientAuthenticationMethods;
}
public ClientAuthenticationMethods getClientAuthenticationMethods() {
return clientAuthenticationMethods;
}
/**
* @return whether this client requires pushed authorization requests or not.
*/
public Boolean getRequiresPushedAuthorizationRequests() {
return requiresPushedAuthorizationRequests;
}
/**
* Sets whether the client requires pushed authorization requests or not.
* @param requiresPushedAuthorizationRequests true if the client should require pushed authorization requests, false if not.
*/
public void setRequiresPushedAuthorizationRequests(Boolean requiresPushedAuthorizationRequests) {
this.requiresPushedAuthorizationRequests = requiresPushedAuthorizationRequests;
}
/**
* @return the value of the {@code oidc_backchannel_logout} property.
*/
public OIDCBackchannelLogout getOidcBackchannelLogout() {
return oidcBackchannelLogout;
}
/**
* Sets the {@code oidc_backchannel_logout} property.
* @param oidcBackchannelLogout the value to set the {@code oidc_backchannel_logout} property to.
*/
public void setOidcBackchannelLogout(OIDCBackchannelLogout oidcBackchannelLogout) {
this.oidcBackchannelLogout = oidcBackchannelLogout;
}
/**
* @return the value of the {@code signed_request_object} field.
*/
public SignedRequest getSignedRequest() {
return signedRequest;
}
/**
* Sets the value of the {@code SignedRequest} field.
*
* @param signedRequest the value to set the {@code signed_request_field} field to.
*/
public void setSignedRequest(SignedRequest signedRequest) {
this.signedRequest = signedRequest;
}
/**
* @return the value of the {@code compliance_level} field
*/
public String getComplianceLevel() {
return complianceLevel;
}
/**
* Sets the value of the {@code compliance_level} field
* @param complianceLevel the value of the {@code compliance_level} field
*/
public void setComplianceLevel(String complianceLevel) {
this.complianceLevel = complianceLevel;
}
/**
* @return the value of the {@code require_proof_of_possession} field
*/
public Boolean getRequireProofOfPossession() {
return requireProofOfPossession;
}
/**
* Sets the value of the {@code require_proof_of_possession} field
* @param requireProofOfPossession the value of the {@code require_proof_of_possession} field
*/
public void setRequireProofOfPossession(Boolean requireProofOfPossession) {
this.requireProofOfPossession = requireProofOfPossession;
}
/**
* Getter for the default organization configuration.
* @return the default organization configuration.
*/
public ClientDefaultOrganization getDefaultOrganization() {
return defaultOrganization;
}
/**
* Setter for the default organization configuration.
* @param defaultOrganization the default organization configuration to set.
*/
public void setDefaultOrganization(ClientDefaultOrganization defaultOrganization) {
this.defaultOrganization = defaultOrganization;
}
/**
* Getter for the token quota configuration.
* @return the token quota configuration.
*/
public TokenQuota getTokenQuota() {
return tokenQuota;
}
/**
* Setter for the token quota configuration.
* @param tokenQuota the token quota configuration to set.
*/
public void setTokenQuota(TokenQuota tokenQuota) {
this.tokenQuota = tokenQuota;
}
}