This repository has been archived by the owner on Mar 11, 2021. It is now read-only.
/
webAppAuthSettingsSlot.go
807 lines (783 loc) · 50 KB
/
webAppAuthSettingsSlot.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
// *** WARNING: this file was generated by the Pulumi SDK Generator. ***
// *** Do not edit by hand unless you're certain you know what you are doing! ***
package v20200901
import (
"context"
"reflect"
"github.com/pkg/errors"
"github.com/pulumi/pulumi/sdk/v2/go/pulumi"
)
// Configuration settings for the Azure App Service Authentication / Authorization feature.
type WebAppAuthSettingsSlot struct {
pulumi.CustomResourceState
// Gets a JSON string containing the Azure AD Acl settings.
AadClaimsAuthorization pulumi.StringPtrOutput `pulumi:"aadClaimsAuthorization"`
// Login parameters to send to the OpenID Connect authorization endpoint when
// a user logs in. Each parameter must be in the form "key=value".
AdditionalLoginParams pulumi.StringArrayOutput `pulumi:"additionalLoginParams"`
// Allowed audience values to consider when validating JWTs issued by
// Azure Active Directory. Note that the <code>ClientID</code> value is always considered an
// allowed audience, regardless of this setting.
AllowedAudiences pulumi.StringArrayOutput `pulumi:"allowedAudiences"`
// External URLs that can be redirected to as part of logging in or logging out of the app. Note that the query string part of the URL is ignored.
// This is an advanced setting typically only needed by Windows Store application backends.
// Note that URLs within the current domain are always implicitly allowed.
AllowedExternalRedirectUrls pulumi.StringArrayOutput `pulumi:"allowedExternalRedirectUrls"`
// The path of the config file containing auth settings.
// If the path is relative, base will the site's root directory.
AuthFilePath pulumi.StringPtrOutput `pulumi:"authFilePath"`
// The Client ID of this relying party application, known as the client_id.
// This setting is required for enabling OpenID Connection authentication with Azure Active Directory or
// other 3rd party OpenID Connect providers.
// More information on OpenID Connect: http://openid.net/specs/openid-connect-core-1_0.html
ClientId pulumi.StringPtrOutput `pulumi:"clientId"`
// The Client Secret of this relying party application (in Azure Active Directory, this is also referred to as the Key).
// This setting is optional. If no client secret is configured, the OpenID Connect implicit auth flow is used to authenticate end users.
// Otherwise, the OpenID Connect Authorization Code Flow is used to authenticate end users.
// More information on OpenID Connect: http://openid.net/specs/openid-connect-core-1_0.html
ClientSecret pulumi.StringPtrOutput `pulumi:"clientSecret"`
// An alternative to the client secret, that is the thumbprint of a certificate used for signing purposes. This property acts as
// a replacement for the Client Secret. It is also optional.
ClientSecretCertificateThumbprint pulumi.StringPtrOutput `pulumi:"clientSecretCertificateThumbprint"`
// The app setting name that contains the client secret of the relying party application.
ClientSecretSettingName pulumi.StringPtrOutput `pulumi:"clientSecretSettingName"`
// The default authentication provider to use when multiple providers are configured.
// This setting is only needed if multiple providers are configured and the unauthenticated client
// action is set to "RedirectToLoginPage".
DefaultProvider pulumi.StringPtrOutput `pulumi:"defaultProvider"`
// <code>true</code> if the Authentication / Authorization feature is enabled for the current app; otherwise, <code>false</code>.
Enabled pulumi.BoolPtrOutput `pulumi:"enabled"`
// The App ID of the Facebook app used for login.
// This setting is required for enabling Facebook Login.
// Facebook Login documentation: https://developers.facebook.com/docs/facebook-login
FacebookAppId pulumi.StringPtrOutput `pulumi:"facebookAppId"`
// The App Secret of the Facebook app used for Facebook Login.
// This setting is required for enabling Facebook Login.
// Facebook Login documentation: https://developers.facebook.com/docs/facebook-login
FacebookAppSecret pulumi.StringPtrOutput `pulumi:"facebookAppSecret"`
// The app setting name that contains the app secret used for Facebook Login.
FacebookAppSecretSettingName pulumi.StringPtrOutput `pulumi:"facebookAppSecretSettingName"`
// The OAuth 2.0 scopes that will be requested as part of Facebook Login authentication.
// This setting is optional.
// Facebook Login documentation: https://developers.facebook.com/docs/facebook-login
FacebookOAuthScopes pulumi.StringArrayOutput `pulumi:"facebookOAuthScopes"`
// The Client Id of the GitHub app used for login.
// This setting is required for enabling Github login
GitHubClientId pulumi.StringPtrOutput `pulumi:"gitHubClientId"`
// The Client Secret of the GitHub app used for Github Login.
// This setting is required for enabling Github login.
GitHubClientSecret pulumi.StringPtrOutput `pulumi:"gitHubClientSecret"`
// The app setting name that contains the client secret of the Github
// app used for GitHub Login.
GitHubClientSecretSettingName pulumi.StringPtrOutput `pulumi:"gitHubClientSecretSettingName"`
// The OAuth 2.0 scopes that will be requested as part of GitHub Login authentication.
// This setting is optional
GitHubOAuthScopes pulumi.StringArrayOutput `pulumi:"gitHubOAuthScopes"`
// The OpenID Connect Client ID for the Google web application.
// This setting is required for enabling Google Sign-In.
// Google Sign-In documentation: https://developers.google.com/identity/sign-in/web/
GoogleClientId pulumi.StringPtrOutput `pulumi:"googleClientId"`
// The client secret associated with the Google web application.
// This setting is required for enabling Google Sign-In.
// Google Sign-In documentation: https://developers.google.com/identity/sign-in/web/
GoogleClientSecret pulumi.StringPtrOutput `pulumi:"googleClientSecret"`
// The app setting name that contains the client secret associated with
// the Google web application.
GoogleClientSecretSettingName pulumi.StringPtrOutput `pulumi:"googleClientSecretSettingName"`
// The OAuth 2.0 scopes that will be requested as part of Google Sign-In authentication.
// This setting is optional. If not specified, "openid", "profile", and "email" are used as default scopes.
// Google Sign-In documentation: https://developers.google.com/identity/sign-in/web/
GoogleOAuthScopes pulumi.StringArrayOutput `pulumi:"googleOAuthScopes"`
// "true" if the auth config settings should be read from a file,
// "false" otherwise
IsAuthFromFile pulumi.StringPtrOutput `pulumi:"isAuthFromFile"`
// The OpenID Connect Issuer URI that represents the entity which issues access tokens for this application.
// When using Azure Active Directory, this value is the URI of the directory tenant, e.g. https://sts.windows.net/{tenant-guid}/.
// This URI is a case-sensitive identifier for the token issuer.
// More information on OpenID Connect Discovery: http://openid.net/specs/openid-connect-discovery-1_0.html
Issuer pulumi.StringPtrOutput `pulumi:"issuer"`
// Kind of resource.
Kind pulumi.StringPtrOutput `pulumi:"kind"`
// The OAuth 2.0 client ID that was created for the app used for authentication.
// This setting is required for enabling Microsoft Account authentication.
// Microsoft Account OAuth documentation: https://dev.onedrive.com/auth/msa_oauth.htm
MicrosoftAccountClientId pulumi.StringPtrOutput `pulumi:"microsoftAccountClientId"`
// The OAuth 2.0 client secret that was created for the app used for authentication.
// This setting is required for enabling Microsoft Account authentication.
// Microsoft Account OAuth documentation: https://dev.onedrive.com/auth/msa_oauth.htm
MicrosoftAccountClientSecret pulumi.StringPtrOutput `pulumi:"microsoftAccountClientSecret"`
// The app setting name containing the OAuth 2.0 client secret that was created for the
// app used for authentication.
MicrosoftAccountClientSecretSettingName pulumi.StringPtrOutput `pulumi:"microsoftAccountClientSecretSettingName"`
// The OAuth 2.0 scopes that will be requested as part of Microsoft Account authentication.
// This setting is optional. If not specified, "wl.basic" is used as the default scope.
// Microsoft Account Scopes and permissions documentation: https://msdn.microsoft.com/en-us/library/dn631845.aspx
MicrosoftAccountOAuthScopes pulumi.StringArrayOutput `pulumi:"microsoftAccountOAuthScopes"`
// Resource Name.
Name pulumi.StringOutput `pulumi:"name"`
// The RuntimeVersion of the Authentication / Authorization feature in use for the current app.
// The setting in this value can control the behavior of certain features in the Authentication / Authorization module.
RuntimeVersion pulumi.StringPtrOutput `pulumi:"runtimeVersion"`
// The system metadata relating to this resource.
SystemData SystemDataResponseOutput `pulumi:"systemData"`
// The number of hours after session token expiration that a session token can be used to
// call the token refresh API. The default is 72 hours.
TokenRefreshExtensionHours pulumi.Float64PtrOutput `pulumi:"tokenRefreshExtensionHours"`
// <code>true</code> to durably store platform-specific security tokens that are obtained during login flows; otherwise, <code>false</code>.
// The default is <code>false</code>.
TokenStoreEnabled pulumi.BoolPtrOutput `pulumi:"tokenStoreEnabled"`
// The OAuth 1.0a consumer key of the Twitter application used for sign-in.
// This setting is required for enabling Twitter Sign-In.
// Twitter Sign-In documentation: https://dev.twitter.com/web/sign-in
TwitterConsumerKey pulumi.StringPtrOutput `pulumi:"twitterConsumerKey"`
// The OAuth 1.0a consumer secret of the Twitter application used for sign-in.
// This setting is required for enabling Twitter Sign-In.
// Twitter Sign-In documentation: https://dev.twitter.com/web/sign-in
TwitterConsumerSecret pulumi.StringPtrOutput `pulumi:"twitterConsumerSecret"`
// The app setting name that contains the OAuth 1.0a consumer secret of the Twitter
// application used for sign-in.
TwitterConsumerSecretSettingName pulumi.StringPtrOutput `pulumi:"twitterConsumerSecretSettingName"`
// Resource type.
Type pulumi.StringOutput `pulumi:"type"`
// The action to take when an unauthenticated client attempts to access the app.
UnauthenticatedClientAction pulumi.StringPtrOutput `pulumi:"unauthenticatedClientAction"`
// Gets a value indicating whether the issuer should be a valid HTTPS url and be validated as such.
ValidateIssuer pulumi.BoolPtrOutput `pulumi:"validateIssuer"`
}
// NewWebAppAuthSettingsSlot registers a new resource with the given unique name, arguments, and options.
func NewWebAppAuthSettingsSlot(ctx *pulumi.Context,
name string, args *WebAppAuthSettingsSlotArgs, opts ...pulumi.ResourceOption) (*WebAppAuthSettingsSlot, error) {
if args == nil {
return nil, errors.New("missing one or more required arguments")
}
if args.Name == nil {
return nil, errors.New("invalid value for required argument 'Name'")
}
if args.ResourceGroupName == nil {
return nil, errors.New("invalid value for required argument 'ResourceGroupName'")
}
if args.Slot == nil {
return nil, errors.New("invalid value for required argument 'Slot'")
}
aliases := pulumi.Aliases([]pulumi.Alias{
{
Type: pulumi.String("azure-nextgen:web/latest:WebAppAuthSettingsSlot"),
},
{
Type: pulumi.String("azure-nextgen:web/v20150801:WebAppAuthSettingsSlot"),
},
{
Type: pulumi.String("azure-nextgen:web/v20160801:WebAppAuthSettingsSlot"),
},
{
Type: pulumi.String("azure-nextgen:web/v20180201:WebAppAuthSettingsSlot"),
},
{
Type: pulumi.String("azure-nextgen:web/v20181101:WebAppAuthSettingsSlot"),
},
{
Type: pulumi.String("azure-nextgen:web/v20190801:WebAppAuthSettingsSlot"),
},
{
Type: pulumi.String("azure-nextgen:web/v20200601:WebAppAuthSettingsSlot"),
},
{
Type: pulumi.String("azure-nextgen:web/v20201001:WebAppAuthSettingsSlot"),
},
})
opts = append(opts, aliases)
var resource WebAppAuthSettingsSlot
err := ctx.RegisterResource("azure-nextgen:web/v20200901:WebAppAuthSettingsSlot", name, args, &resource, opts...)
if err != nil {
return nil, err
}
return &resource, nil
}
// GetWebAppAuthSettingsSlot gets an existing WebAppAuthSettingsSlot resource's state with the given name, ID, and optional
// state properties that are used to uniquely qualify the lookup (nil if not required).
func GetWebAppAuthSettingsSlot(ctx *pulumi.Context,
name string, id pulumi.IDInput, state *WebAppAuthSettingsSlotState, opts ...pulumi.ResourceOption) (*WebAppAuthSettingsSlot, error) {
var resource WebAppAuthSettingsSlot
err := ctx.ReadResource("azure-nextgen:web/v20200901:WebAppAuthSettingsSlot", name, id, state, &resource, opts...)
if err != nil {
return nil, err
}
return &resource, nil
}
// Input properties used for looking up and filtering WebAppAuthSettingsSlot resources.
type webAppAuthSettingsSlotState struct {
// Gets a JSON string containing the Azure AD Acl settings.
AadClaimsAuthorization *string `pulumi:"aadClaimsAuthorization"`
// Login parameters to send to the OpenID Connect authorization endpoint when
// a user logs in. Each parameter must be in the form "key=value".
AdditionalLoginParams []string `pulumi:"additionalLoginParams"`
// Allowed audience values to consider when validating JWTs issued by
// Azure Active Directory. Note that the <code>ClientID</code> value is always considered an
// allowed audience, regardless of this setting.
AllowedAudiences []string `pulumi:"allowedAudiences"`
// External URLs that can be redirected to as part of logging in or logging out of the app. Note that the query string part of the URL is ignored.
// This is an advanced setting typically only needed by Windows Store application backends.
// Note that URLs within the current domain are always implicitly allowed.
AllowedExternalRedirectUrls []string `pulumi:"allowedExternalRedirectUrls"`
// The path of the config file containing auth settings.
// If the path is relative, base will the site's root directory.
AuthFilePath *string `pulumi:"authFilePath"`
// The Client ID of this relying party application, known as the client_id.
// This setting is required for enabling OpenID Connection authentication with Azure Active Directory or
// other 3rd party OpenID Connect providers.
// More information on OpenID Connect: http://openid.net/specs/openid-connect-core-1_0.html
ClientId *string `pulumi:"clientId"`
// The Client Secret of this relying party application (in Azure Active Directory, this is also referred to as the Key).
// This setting is optional. If no client secret is configured, the OpenID Connect implicit auth flow is used to authenticate end users.
// Otherwise, the OpenID Connect Authorization Code Flow is used to authenticate end users.
// More information on OpenID Connect: http://openid.net/specs/openid-connect-core-1_0.html
ClientSecret *string `pulumi:"clientSecret"`
// An alternative to the client secret, that is the thumbprint of a certificate used for signing purposes. This property acts as
// a replacement for the Client Secret. It is also optional.
ClientSecretCertificateThumbprint *string `pulumi:"clientSecretCertificateThumbprint"`
// The app setting name that contains the client secret of the relying party application.
ClientSecretSettingName *string `pulumi:"clientSecretSettingName"`
// The default authentication provider to use when multiple providers are configured.
// This setting is only needed if multiple providers are configured and the unauthenticated client
// action is set to "RedirectToLoginPage".
DefaultProvider *string `pulumi:"defaultProvider"`
// <code>true</code> if the Authentication / Authorization feature is enabled for the current app; otherwise, <code>false</code>.
Enabled *bool `pulumi:"enabled"`
// The App ID of the Facebook app used for login.
// This setting is required for enabling Facebook Login.
// Facebook Login documentation: https://developers.facebook.com/docs/facebook-login
FacebookAppId *string `pulumi:"facebookAppId"`
// The App Secret of the Facebook app used for Facebook Login.
// This setting is required for enabling Facebook Login.
// Facebook Login documentation: https://developers.facebook.com/docs/facebook-login
FacebookAppSecret *string `pulumi:"facebookAppSecret"`
// The app setting name that contains the app secret used for Facebook Login.
FacebookAppSecretSettingName *string `pulumi:"facebookAppSecretSettingName"`
// The OAuth 2.0 scopes that will be requested as part of Facebook Login authentication.
// This setting is optional.
// Facebook Login documentation: https://developers.facebook.com/docs/facebook-login
FacebookOAuthScopes []string `pulumi:"facebookOAuthScopes"`
// The Client Id of the GitHub app used for login.
// This setting is required for enabling Github login
GitHubClientId *string `pulumi:"gitHubClientId"`
// The Client Secret of the GitHub app used for Github Login.
// This setting is required for enabling Github login.
GitHubClientSecret *string `pulumi:"gitHubClientSecret"`
// The app setting name that contains the client secret of the Github
// app used for GitHub Login.
GitHubClientSecretSettingName *string `pulumi:"gitHubClientSecretSettingName"`
// The OAuth 2.0 scopes that will be requested as part of GitHub Login authentication.
// This setting is optional
GitHubOAuthScopes []string `pulumi:"gitHubOAuthScopes"`
// The OpenID Connect Client ID for the Google web application.
// This setting is required for enabling Google Sign-In.
// Google Sign-In documentation: https://developers.google.com/identity/sign-in/web/
GoogleClientId *string `pulumi:"googleClientId"`
// The client secret associated with the Google web application.
// This setting is required for enabling Google Sign-In.
// Google Sign-In documentation: https://developers.google.com/identity/sign-in/web/
GoogleClientSecret *string `pulumi:"googleClientSecret"`
// The app setting name that contains the client secret associated with
// the Google web application.
GoogleClientSecretSettingName *string `pulumi:"googleClientSecretSettingName"`
// The OAuth 2.0 scopes that will be requested as part of Google Sign-In authentication.
// This setting is optional. If not specified, "openid", "profile", and "email" are used as default scopes.
// Google Sign-In documentation: https://developers.google.com/identity/sign-in/web/
GoogleOAuthScopes []string `pulumi:"googleOAuthScopes"`
// "true" if the auth config settings should be read from a file,
// "false" otherwise
IsAuthFromFile *string `pulumi:"isAuthFromFile"`
// The OpenID Connect Issuer URI that represents the entity which issues access tokens for this application.
// When using Azure Active Directory, this value is the URI of the directory tenant, e.g. https://sts.windows.net/{tenant-guid}/.
// This URI is a case-sensitive identifier for the token issuer.
// More information on OpenID Connect Discovery: http://openid.net/specs/openid-connect-discovery-1_0.html
Issuer *string `pulumi:"issuer"`
// Kind of resource.
Kind *string `pulumi:"kind"`
// The OAuth 2.0 client ID that was created for the app used for authentication.
// This setting is required for enabling Microsoft Account authentication.
// Microsoft Account OAuth documentation: https://dev.onedrive.com/auth/msa_oauth.htm
MicrosoftAccountClientId *string `pulumi:"microsoftAccountClientId"`
// The OAuth 2.0 client secret that was created for the app used for authentication.
// This setting is required for enabling Microsoft Account authentication.
// Microsoft Account OAuth documentation: https://dev.onedrive.com/auth/msa_oauth.htm
MicrosoftAccountClientSecret *string `pulumi:"microsoftAccountClientSecret"`
// The app setting name containing the OAuth 2.0 client secret that was created for the
// app used for authentication.
MicrosoftAccountClientSecretSettingName *string `pulumi:"microsoftAccountClientSecretSettingName"`
// The OAuth 2.0 scopes that will be requested as part of Microsoft Account authentication.
// This setting is optional. If not specified, "wl.basic" is used as the default scope.
// Microsoft Account Scopes and permissions documentation: https://msdn.microsoft.com/en-us/library/dn631845.aspx
MicrosoftAccountOAuthScopes []string `pulumi:"microsoftAccountOAuthScopes"`
// Resource Name.
Name *string `pulumi:"name"`
// The RuntimeVersion of the Authentication / Authorization feature in use for the current app.
// The setting in this value can control the behavior of certain features in the Authentication / Authorization module.
RuntimeVersion *string `pulumi:"runtimeVersion"`
// The system metadata relating to this resource.
SystemData *SystemDataResponse `pulumi:"systemData"`
// The number of hours after session token expiration that a session token can be used to
// call the token refresh API. The default is 72 hours.
TokenRefreshExtensionHours *float64 `pulumi:"tokenRefreshExtensionHours"`
// <code>true</code> to durably store platform-specific security tokens that are obtained during login flows; otherwise, <code>false</code>.
// The default is <code>false</code>.
TokenStoreEnabled *bool `pulumi:"tokenStoreEnabled"`
// The OAuth 1.0a consumer key of the Twitter application used for sign-in.
// This setting is required for enabling Twitter Sign-In.
// Twitter Sign-In documentation: https://dev.twitter.com/web/sign-in
TwitterConsumerKey *string `pulumi:"twitterConsumerKey"`
// The OAuth 1.0a consumer secret of the Twitter application used for sign-in.
// This setting is required for enabling Twitter Sign-In.
// Twitter Sign-In documentation: https://dev.twitter.com/web/sign-in
TwitterConsumerSecret *string `pulumi:"twitterConsumerSecret"`
// The app setting name that contains the OAuth 1.0a consumer secret of the Twitter
// application used for sign-in.
TwitterConsumerSecretSettingName *string `pulumi:"twitterConsumerSecretSettingName"`
// Resource type.
Type *string `pulumi:"type"`
// The action to take when an unauthenticated client attempts to access the app.
UnauthenticatedClientAction *string `pulumi:"unauthenticatedClientAction"`
// Gets a value indicating whether the issuer should be a valid HTTPS url and be validated as such.
ValidateIssuer *bool `pulumi:"validateIssuer"`
}
type WebAppAuthSettingsSlotState struct {
// Gets a JSON string containing the Azure AD Acl settings.
AadClaimsAuthorization pulumi.StringPtrInput
// Login parameters to send to the OpenID Connect authorization endpoint when
// a user logs in. Each parameter must be in the form "key=value".
AdditionalLoginParams pulumi.StringArrayInput
// Allowed audience values to consider when validating JWTs issued by
// Azure Active Directory. Note that the <code>ClientID</code> value is always considered an
// allowed audience, regardless of this setting.
AllowedAudiences pulumi.StringArrayInput
// External URLs that can be redirected to as part of logging in or logging out of the app. Note that the query string part of the URL is ignored.
// This is an advanced setting typically only needed by Windows Store application backends.
// Note that URLs within the current domain are always implicitly allowed.
AllowedExternalRedirectUrls pulumi.StringArrayInput
// The path of the config file containing auth settings.
// If the path is relative, base will the site's root directory.
AuthFilePath pulumi.StringPtrInput
// The Client ID of this relying party application, known as the client_id.
// This setting is required for enabling OpenID Connection authentication with Azure Active Directory or
// other 3rd party OpenID Connect providers.
// More information on OpenID Connect: http://openid.net/specs/openid-connect-core-1_0.html
ClientId pulumi.StringPtrInput
// The Client Secret of this relying party application (in Azure Active Directory, this is also referred to as the Key).
// This setting is optional. If no client secret is configured, the OpenID Connect implicit auth flow is used to authenticate end users.
// Otherwise, the OpenID Connect Authorization Code Flow is used to authenticate end users.
// More information on OpenID Connect: http://openid.net/specs/openid-connect-core-1_0.html
ClientSecret pulumi.StringPtrInput
// An alternative to the client secret, that is the thumbprint of a certificate used for signing purposes. This property acts as
// a replacement for the Client Secret. It is also optional.
ClientSecretCertificateThumbprint pulumi.StringPtrInput
// The app setting name that contains the client secret of the relying party application.
ClientSecretSettingName pulumi.StringPtrInput
// The default authentication provider to use when multiple providers are configured.
// This setting is only needed if multiple providers are configured and the unauthenticated client
// action is set to "RedirectToLoginPage".
DefaultProvider pulumi.StringPtrInput
// <code>true</code> if the Authentication / Authorization feature is enabled for the current app; otherwise, <code>false</code>.
Enabled pulumi.BoolPtrInput
// The App ID of the Facebook app used for login.
// This setting is required for enabling Facebook Login.
// Facebook Login documentation: https://developers.facebook.com/docs/facebook-login
FacebookAppId pulumi.StringPtrInput
// The App Secret of the Facebook app used for Facebook Login.
// This setting is required for enabling Facebook Login.
// Facebook Login documentation: https://developers.facebook.com/docs/facebook-login
FacebookAppSecret pulumi.StringPtrInput
// The app setting name that contains the app secret used for Facebook Login.
FacebookAppSecretSettingName pulumi.StringPtrInput
// The OAuth 2.0 scopes that will be requested as part of Facebook Login authentication.
// This setting is optional.
// Facebook Login documentation: https://developers.facebook.com/docs/facebook-login
FacebookOAuthScopes pulumi.StringArrayInput
// The Client Id of the GitHub app used for login.
// This setting is required for enabling Github login
GitHubClientId pulumi.StringPtrInput
// The Client Secret of the GitHub app used for Github Login.
// This setting is required for enabling Github login.
GitHubClientSecret pulumi.StringPtrInput
// The app setting name that contains the client secret of the Github
// app used for GitHub Login.
GitHubClientSecretSettingName pulumi.StringPtrInput
// The OAuth 2.0 scopes that will be requested as part of GitHub Login authentication.
// This setting is optional
GitHubOAuthScopes pulumi.StringArrayInput
// The OpenID Connect Client ID for the Google web application.
// This setting is required for enabling Google Sign-In.
// Google Sign-In documentation: https://developers.google.com/identity/sign-in/web/
GoogleClientId pulumi.StringPtrInput
// The client secret associated with the Google web application.
// This setting is required for enabling Google Sign-In.
// Google Sign-In documentation: https://developers.google.com/identity/sign-in/web/
GoogleClientSecret pulumi.StringPtrInput
// The app setting name that contains the client secret associated with
// the Google web application.
GoogleClientSecretSettingName pulumi.StringPtrInput
// The OAuth 2.0 scopes that will be requested as part of Google Sign-In authentication.
// This setting is optional. If not specified, "openid", "profile", and "email" are used as default scopes.
// Google Sign-In documentation: https://developers.google.com/identity/sign-in/web/
GoogleOAuthScopes pulumi.StringArrayInput
// "true" if the auth config settings should be read from a file,
// "false" otherwise
IsAuthFromFile pulumi.StringPtrInput
// The OpenID Connect Issuer URI that represents the entity which issues access tokens for this application.
// When using Azure Active Directory, this value is the URI of the directory tenant, e.g. https://sts.windows.net/{tenant-guid}/.
// This URI is a case-sensitive identifier for the token issuer.
// More information on OpenID Connect Discovery: http://openid.net/specs/openid-connect-discovery-1_0.html
Issuer pulumi.StringPtrInput
// Kind of resource.
Kind pulumi.StringPtrInput
// The OAuth 2.0 client ID that was created for the app used for authentication.
// This setting is required for enabling Microsoft Account authentication.
// Microsoft Account OAuth documentation: https://dev.onedrive.com/auth/msa_oauth.htm
MicrosoftAccountClientId pulumi.StringPtrInput
// The OAuth 2.0 client secret that was created for the app used for authentication.
// This setting is required for enabling Microsoft Account authentication.
// Microsoft Account OAuth documentation: https://dev.onedrive.com/auth/msa_oauth.htm
MicrosoftAccountClientSecret pulumi.StringPtrInput
// The app setting name containing the OAuth 2.0 client secret that was created for the
// app used for authentication.
MicrosoftAccountClientSecretSettingName pulumi.StringPtrInput
// The OAuth 2.0 scopes that will be requested as part of Microsoft Account authentication.
// This setting is optional. If not specified, "wl.basic" is used as the default scope.
// Microsoft Account Scopes and permissions documentation: https://msdn.microsoft.com/en-us/library/dn631845.aspx
MicrosoftAccountOAuthScopes pulumi.StringArrayInput
// Resource Name.
Name pulumi.StringPtrInput
// The RuntimeVersion of the Authentication / Authorization feature in use for the current app.
// The setting in this value can control the behavior of certain features in the Authentication / Authorization module.
RuntimeVersion pulumi.StringPtrInput
// The system metadata relating to this resource.
SystemData SystemDataResponsePtrInput
// The number of hours after session token expiration that a session token can be used to
// call the token refresh API. The default is 72 hours.
TokenRefreshExtensionHours pulumi.Float64PtrInput
// <code>true</code> to durably store platform-specific security tokens that are obtained during login flows; otherwise, <code>false</code>.
// The default is <code>false</code>.
TokenStoreEnabled pulumi.BoolPtrInput
// The OAuth 1.0a consumer key of the Twitter application used for sign-in.
// This setting is required for enabling Twitter Sign-In.
// Twitter Sign-In documentation: https://dev.twitter.com/web/sign-in
TwitterConsumerKey pulumi.StringPtrInput
// The OAuth 1.0a consumer secret of the Twitter application used for sign-in.
// This setting is required for enabling Twitter Sign-In.
// Twitter Sign-In documentation: https://dev.twitter.com/web/sign-in
TwitterConsumerSecret pulumi.StringPtrInput
// The app setting name that contains the OAuth 1.0a consumer secret of the Twitter
// application used for sign-in.
TwitterConsumerSecretSettingName pulumi.StringPtrInput
// Resource type.
Type pulumi.StringPtrInput
// The action to take when an unauthenticated client attempts to access the app.
UnauthenticatedClientAction pulumi.StringPtrInput
// Gets a value indicating whether the issuer should be a valid HTTPS url and be validated as such.
ValidateIssuer pulumi.BoolPtrInput
}
func (WebAppAuthSettingsSlotState) ElementType() reflect.Type {
return reflect.TypeOf((*webAppAuthSettingsSlotState)(nil)).Elem()
}
type webAppAuthSettingsSlotArgs struct {
// Gets a JSON string containing the Azure AD Acl settings.
AadClaimsAuthorization *string `pulumi:"aadClaimsAuthorization"`
// Login parameters to send to the OpenID Connect authorization endpoint when
// a user logs in. Each parameter must be in the form "key=value".
AdditionalLoginParams []string `pulumi:"additionalLoginParams"`
// Allowed audience values to consider when validating JWTs issued by
// Azure Active Directory. Note that the <code>ClientID</code> value is always considered an
// allowed audience, regardless of this setting.
AllowedAudiences []string `pulumi:"allowedAudiences"`
// External URLs that can be redirected to as part of logging in or logging out of the app. Note that the query string part of the URL is ignored.
// This is an advanced setting typically only needed by Windows Store application backends.
// Note that URLs within the current domain are always implicitly allowed.
AllowedExternalRedirectUrls []string `pulumi:"allowedExternalRedirectUrls"`
// The path of the config file containing auth settings.
// If the path is relative, base will the site's root directory.
AuthFilePath *string `pulumi:"authFilePath"`
// The Client ID of this relying party application, known as the client_id.
// This setting is required for enabling OpenID Connection authentication with Azure Active Directory or
// other 3rd party OpenID Connect providers.
// More information on OpenID Connect: http://openid.net/specs/openid-connect-core-1_0.html
ClientId *string `pulumi:"clientId"`
// The Client Secret of this relying party application (in Azure Active Directory, this is also referred to as the Key).
// This setting is optional. If no client secret is configured, the OpenID Connect implicit auth flow is used to authenticate end users.
// Otherwise, the OpenID Connect Authorization Code Flow is used to authenticate end users.
// More information on OpenID Connect: http://openid.net/specs/openid-connect-core-1_0.html
ClientSecret *string `pulumi:"clientSecret"`
// An alternative to the client secret, that is the thumbprint of a certificate used for signing purposes. This property acts as
// a replacement for the Client Secret. It is also optional.
ClientSecretCertificateThumbprint *string `pulumi:"clientSecretCertificateThumbprint"`
// The app setting name that contains the client secret of the relying party application.
ClientSecretSettingName *string `pulumi:"clientSecretSettingName"`
// The default authentication provider to use when multiple providers are configured.
// This setting is only needed if multiple providers are configured and the unauthenticated client
// action is set to "RedirectToLoginPage".
DefaultProvider *string `pulumi:"defaultProvider"`
// <code>true</code> if the Authentication / Authorization feature is enabled for the current app; otherwise, <code>false</code>.
Enabled *bool `pulumi:"enabled"`
// The App ID of the Facebook app used for login.
// This setting is required for enabling Facebook Login.
// Facebook Login documentation: https://developers.facebook.com/docs/facebook-login
FacebookAppId *string `pulumi:"facebookAppId"`
// The App Secret of the Facebook app used for Facebook Login.
// This setting is required for enabling Facebook Login.
// Facebook Login documentation: https://developers.facebook.com/docs/facebook-login
FacebookAppSecret *string `pulumi:"facebookAppSecret"`
// The app setting name that contains the app secret used for Facebook Login.
FacebookAppSecretSettingName *string `pulumi:"facebookAppSecretSettingName"`
// The OAuth 2.0 scopes that will be requested as part of Facebook Login authentication.
// This setting is optional.
// Facebook Login documentation: https://developers.facebook.com/docs/facebook-login
FacebookOAuthScopes []string `pulumi:"facebookOAuthScopes"`
// The Client Id of the GitHub app used for login.
// This setting is required for enabling Github login
GitHubClientId *string `pulumi:"gitHubClientId"`
// The Client Secret of the GitHub app used for Github Login.
// This setting is required for enabling Github login.
GitHubClientSecret *string `pulumi:"gitHubClientSecret"`
// The app setting name that contains the client secret of the Github
// app used for GitHub Login.
GitHubClientSecretSettingName *string `pulumi:"gitHubClientSecretSettingName"`
// The OAuth 2.0 scopes that will be requested as part of GitHub Login authentication.
// This setting is optional
GitHubOAuthScopes []string `pulumi:"gitHubOAuthScopes"`
// The OpenID Connect Client ID for the Google web application.
// This setting is required for enabling Google Sign-In.
// Google Sign-In documentation: https://developers.google.com/identity/sign-in/web/
GoogleClientId *string `pulumi:"googleClientId"`
// The client secret associated with the Google web application.
// This setting is required for enabling Google Sign-In.
// Google Sign-In documentation: https://developers.google.com/identity/sign-in/web/
GoogleClientSecret *string `pulumi:"googleClientSecret"`
// The app setting name that contains the client secret associated with
// the Google web application.
GoogleClientSecretSettingName *string `pulumi:"googleClientSecretSettingName"`
// The OAuth 2.0 scopes that will be requested as part of Google Sign-In authentication.
// This setting is optional. If not specified, "openid", "profile", and "email" are used as default scopes.
// Google Sign-In documentation: https://developers.google.com/identity/sign-in/web/
GoogleOAuthScopes []string `pulumi:"googleOAuthScopes"`
// "true" if the auth config settings should be read from a file,
// "false" otherwise
IsAuthFromFile *string `pulumi:"isAuthFromFile"`
// The OpenID Connect Issuer URI that represents the entity which issues access tokens for this application.
// When using Azure Active Directory, this value is the URI of the directory tenant, e.g. https://sts.windows.net/{tenant-guid}/.
// This URI is a case-sensitive identifier for the token issuer.
// More information on OpenID Connect Discovery: http://openid.net/specs/openid-connect-discovery-1_0.html
Issuer *string `pulumi:"issuer"`
// Kind of resource.
Kind *string `pulumi:"kind"`
// The OAuth 2.0 client ID that was created for the app used for authentication.
// This setting is required for enabling Microsoft Account authentication.
// Microsoft Account OAuth documentation: https://dev.onedrive.com/auth/msa_oauth.htm
MicrosoftAccountClientId *string `pulumi:"microsoftAccountClientId"`
// The OAuth 2.0 client secret that was created for the app used for authentication.
// This setting is required for enabling Microsoft Account authentication.
// Microsoft Account OAuth documentation: https://dev.onedrive.com/auth/msa_oauth.htm
MicrosoftAccountClientSecret *string `pulumi:"microsoftAccountClientSecret"`
// The app setting name containing the OAuth 2.0 client secret that was created for the
// app used for authentication.
MicrosoftAccountClientSecretSettingName *string `pulumi:"microsoftAccountClientSecretSettingName"`
// The OAuth 2.0 scopes that will be requested as part of Microsoft Account authentication.
// This setting is optional. If not specified, "wl.basic" is used as the default scope.
// Microsoft Account Scopes and permissions documentation: https://msdn.microsoft.com/en-us/library/dn631845.aspx
MicrosoftAccountOAuthScopes []string `pulumi:"microsoftAccountOAuthScopes"`
// Name of web app.
Name string `pulumi:"name"`
// Name of the resource group to which the resource belongs.
ResourceGroupName string `pulumi:"resourceGroupName"`
// The RuntimeVersion of the Authentication / Authorization feature in use for the current app.
// The setting in this value can control the behavior of certain features in the Authentication / Authorization module.
RuntimeVersion *string `pulumi:"runtimeVersion"`
// Name of web app slot. If not specified then will default to production slot.
Slot string `pulumi:"slot"`
// The number of hours after session token expiration that a session token can be used to
// call the token refresh API. The default is 72 hours.
TokenRefreshExtensionHours *float64 `pulumi:"tokenRefreshExtensionHours"`
// <code>true</code> to durably store platform-specific security tokens that are obtained during login flows; otherwise, <code>false</code>.
// The default is <code>false</code>.
TokenStoreEnabled *bool `pulumi:"tokenStoreEnabled"`
// The OAuth 1.0a consumer key of the Twitter application used for sign-in.
// This setting is required for enabling Twitter Sign-In.
// Twitter Sign-In documentation: https://dev.twitter.com/web/sign-in
TwitterConsumerKey *string `pulumi:"twitterConsumerKey"`
// The OAuth 1.0a consumer secret of the Twitter application used for sign-in.
// This setting is required for enabling Twitter Sign-In.
// Twitter Sign-In documentation: https://dev.twitter.com/web/sign-in
TwitterConsumerSecret *string `pulumi:"twitterConsumerSecret"`
// The app setting name that contains the OAuth 1.0a consumer secret of the Twitter
// application used for sign-in.
TwitterConsumerSecretSettingName *string `pulumi:"twitterConsumerSecretSettingName"`
// The action to take when an unauthenticated client attempts to access the app.
UnauthenticatedClientAction *string `pulumi:"unauthenticatedClientAction"`
// Gets a value indicating whether the issuer should be a valid HTTPS url and be validated as such.
ValidateIssuer *bool `pulumi:"validateIssuer"`
}
// The set of arguments for constructing a WebAppAuthSettingsSlot resource.
type WebAppAuthSettingsSlotArgs struct {
// Gets a JSON string containing the Azure AD Acl settings.
AadClaimsAuthorization pulumi.StringPtrInput
// Login parameters to send to the OpenID Connect authorization endpoint when
// a user logs in. Each parameter must be in the form "key=value".
AdditionalLoginParams pulumi.StringArrayInput
// Allowed audience values to consider when validating JWTs issued by
// Azure Active Directory. Note that the <code>ClientID</code> value is always considered an
// allowed audience, regardless of this setting.
AllowedAudiences pulumi.StringArrayInput
// External URLs that can be redirected to as part of logging in or logging out of the app. Note that the query string part of the URL is ignored.
// This is an advanced setting typically only needed by Windows Store application backends.
// Note that URLs within the current domain are always implicitly allowed.
AllowedExternalRedirectUrls pulumi.StringArrayInput
// The path of the config file containing auth settings.
// If the path is relative, base will the site's root directory.
AuthFilePath pulumi.StringPtrInput
// The Client ID of this relying party application, known as the client_id.
// This setting is required for enabling OpenID Connection authentication with Azure Active Directory or
// other 3rd party OpenID Connect providers.
// More information on OpenID Connect: http://openid.net/specs/openid-connect-core-1_0.html
ClientId pulumi.StringPtrInput
// The Client Secret of this relying party application (in Azure Active Directory, this is also referred to as the Key).
// This setting is optional. If no client secret is configured, the OpenID Connect implicit auth flow is used to authenticate end users.
// Otherwise, the OpenID Connect Authorization Code Flow is used to authenticate end users.
// More information on OpenID Connect: http://openid.net/specs/openid-connect-core-1_0.html
ClientSecret pulumi.StringPtrInput
// An alternative to the client secret, that is the thumbprint of a certificate used for signing purposes. This property acts as
// a replacement for the Client Secret. It is also optional.
ClientSecretCertificateThumbprint pulumi.StringPtrInput
// The app setting name that contains the client secret of the relying party application.
ClientSecretSettingName pulumi.StringPtrInput
// The default authentication provider to use when multiple providers are configured.
// This setting is only needed if multiple providers are configured and the unauthenticated client
// action is set to "RedirectToLoginPage".
DefaultProvider *BuiltInAuthenticationProvider
// <code>true</code> if the Authentication / Authorization feature is enabled for the current app; otherwise, <code>false</code>.
Enabled pulumi.BoolPtrInput
// The App ID of the Facebook app used for login.
// This setting is required for enabling Facebook Login.
// Facebook Login documentation: https://developers.facebook.com/docs/facebook-login
FacebookAppId pulumi.StringPtrInput
// The App Secret of the Facebook app used for Facebook Login.
// This setting is required for enabling Facebook Login.
// Facebook Login documentation: https://developers.facebook.com/docs/facebook-login
FacebookAppSecret pulumi.StringPtrInput
// The app setting name that contains the app secret used for Facebook Login.
FacebookAppSecretSettingName pulumi.StringPtrInput
// The OAuth 2.0 scopes that will be requested as part of Facebook Login authentication.
// This setting is optional.
// Facebook Login documentation: https://developers.facebook.com/docs/facebook-login
FacebookOAuthScopes pulumi.StringArrayInput
// The Client Id of the GitHub app used for login.
// This setting is required for enabling Github login
GitHubClientId pulumi.StringPtrInput
// The Client Secret of the GitHub app used for Github Login.
// This setting is required for enabling Github login.
GitHubClientSecret pulumi.StringPtrInput
// The app setting name that contains the client secret of the Github
// app used for GitHub Login.
GitHubClientSecretSettingName pulumi.StringPtrInput
// The OAuth 2.0 scopes that will be requested as part of GitHub Login authentication.
// This setting is optional
GitHubOAuthScopes pulumi.StringArrayInput
// The OpenID Connect Client ID for the Google web application.
// This setting is required for enabling Google Sign-In.
// Google Sign-In documentation: https://developers.google.com/identity/sign-in/web/
GoogleClientId pulumi.StringPtrInput
// The client secret associated with the Google web application.
// This setting is required for enabling Google Sign-In.
// Google Sign-In documentation: https://developers.google.com/identity/sign-in/web/
GoogleClientSecret pulumi.StringPtrInput
// The app setting name that contains the client secret associated with
// the Google web application.
GoogleClientSecretSettingName pulumi.StringPtrInput
// The OAuth 2.0 scopes that will be requested as part of Google Sign-In authentication.
// This setting is optional. If not specified, "openid", "profile", and "email" are used as default scopes.
// Google Sign-In documentation: https://developers.google.com/identity/sign-in/web/
GoogleOAuthScopes pulumi.StringArrayInput
// "true" if the auth config settings should be read from a file,
// "false" otherwise
IsAuthFromFile pulumi.StringPtrInput
// The OpenID Connect Issuer URI that represents the entity which issues access tokens for this application.
// When using Azure Active Directory, this value is the URI of the directory tenant, e.g. https://sts.windows.net/{tenant-guid}/.
// This URI is a case-sensitive identifier for the token issuer.
// More information on OpenID Connect Discovery: http://openid.net/specs/openid-connect-discovery-1_0.html
Issuer pulumi.StringPtrInput
// Kind of resource.
Kind pulumi.StringPtrInput
// The OAuth 2.0 client ID that was created for the app used for authentication.
// This setting is required for enabling Microsoft Account authentication.
// Microsoft Account OAuth documentation: https://dev.onedrive.com/auth/msa_oauth.htm
MicrosoftAccountClientId pulumi.StringPtrInput
// The OAuth 2.0 client secret that was created for the app used for authentication.
// This setting is required for enabling Microsoft Account authentication.
// Microsoft Account OAuth documentation: https://dev.onedrive.com/auth/msa_oauth.htm
MicrosoftAccountClientSecret pulumi.StringPtrInput
// The app setting name containing the OAuth 2.0 client secret that was created for the
// app used for authentication.
MicrosoftAccountClientSecretSettingName pulumi.StringPtrInput
// The OAuth 2.0 scopes that will be requested as part of Microsoft Account authentication.
// This setting is optional. If not specified, "wl.basic" is used as the default scope.
// Microsoft Account Scopes and permissions documentation: https://msdn.microsoft.com/en-us/library/dn631845.aspx
MicrosoftAccountOAuthScopes pulumi.StringArrayInput
// Name of web app.
Name pulumi.StringInput
// Name of the resource group to which the resource belongs.
ResourceGroupName pulumi.StringInput
// The RuntimeVersion of the Authentication / Authorization feature in use for the current app.
// The setting in this value can control the behavior of certain features in the Authentication / Authorization module.
RuntimeVersion pulumi.StringPtrInput
// Name of web app slot. If not specified then will default to production slot.
Slot pulumi.StringInput
// The number of hours after session token expiration that a session token can be used to
// call the token refresh API. The default is 72 hours.
TokenRefreshExtensionHours pulumi.Float64PtrInput
// <code>true</code> to durably store platform-specific security tokens that are obtained during login flows; otherwise, <code>false</code>.
// The default is <code>false</code>.
TokenStoreEnabled pulumi.BoolPtrInput
// The OAuth 1.0a consumer key of the Twitter application used for sign-in.
// This setting is required for enabling Twitter Sign-In.
// Twitter Sign-In documentation: https://dev.twitter.com/web/sign-in
TwitterConsumerKey pulumi.StringPtrInput
// The OAuth 1.0a consumer secret of the Twitter application used for sign-in.
// This setting is required for enabling Twitter Sign-In.
// Twitter Sign-In documentation: https://dev.twitter.com/web/sign-in
TwitterConsumerSecret pulumi.StringPtrInput
// The app setting name that contains the OAuth 1.0a consumer secret of the Twitter
// application used for sign-in.
TwitterConsumerSecretSettingName pulumi.StringPtrInput
// The action to take when an unauthenticated client attempts to access the app.
UnauthenticatedClientAction *UnauthenticatedClientAction
// Gets a value indicating whether the issuer should be a valid HTTPS url and be validated as such.
ValidateIssuer pulumi.BoolPtrInput
}
func (WebAppAuthSettingsSlotArgs) ElementType() reflect.Type {
return reflect.TypeOf((*webAppAuthSettingsSlotArgs)(nil)).Elem()
}
type WebAppAuthSettingsSlotInput interface {
pulumi.Input
ToWebAppAuthSettingsSlotOutput() WebAppAuthSettingsSlotOutput
ToWebAppAuthSettingsSlotOutputWithContext(ctx context.Context) WebAppAuthSettingsSlotOutput
}
func (*WebAppAuthSettingsSlot) ElementType() reflect.Type {
return reflect.TypeOf((*WebAppAuthSettingsSlot)(nil))
}
func (i *WebAppAuthSettingsSlot) ToWebAppAuthSettingsSlotOutput() WebAppAuthSettingsSlotOutput {
return i.ToWebAppAuthSettingsSlotOutputWithContext(context.Background())
}
func (i *WebAppAuthSettingsSlot) ToWebAppAuthSettingsSlotOutputWithContext(ctx context.Context) WebAppAuthSettingsSlotOutput {
return pulumi.ToOutputWithContext(ctx, i).(WebAppAuthSettingsSlotOutput)
}
type WebAppAuthSettingsSlotOutput struct {
*pulumi.OutputState
}
func (WebAppAuthSettingsSlotOutput) ElementType() reflect.Type {
return reflect.TypeOf((*WebAppAuthSettingsSlot)(nil))
}
func (o WebAppAuthSettingsSlotOutput) ToWebAppAuthSettingsSlotOutput() WebAppAuthSettingsSlotOutput {
return o
}
func (o WebAppAuthSettingsSlotOutput) ToWebAppAuthSettingsSlotOutputWithContext(ctx context.Context) WebAppAuthSettingsSlotOutput {
return o
}
func init() {
pulumi.RegisterOutputType(WebAppAuthSettingsSlotOutput{})
}