/
GetGlobalClient.cs
267 lines (220 loc) · 8.98 KB
/
GetGlobalClient.cs
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
// *** WARNING: this file was generated by the Pulumi Terraform Bridge (tfgen) Tool. ***
// *** Do not edit by hand unless you're certain you know what you are doing! ***
using System;
using System.Collections.Generic;
using System.Collections.Immutable;
using System.Threading.Tasks;
using Pulumi.Serialization;
namespace Pulumi.Auth0
{
public static class GetGlobalClient
{
/// <summary>
/// Retrieves a tenant's global Auth0 Application client.
///
/// {{% examples %}}
/// ## Example Usage
/// {{% example %}}
///
/// ```csharp
/// using Pulumi;
/// using Auth0 = Pulumi.Auth0;
///
/// class MyStack : Stack
/// {
/// public MyStack()
/// {
/// var @global = Output.Create(Auth0.GetGlobalClient.InvokeAsync());
/// }
///
/// }
/// ```
/// {{% /example %}}
/// {{% /examples %}}
/// </summary>
public static Task<GetGlobalClientResult> InvokeAsync(GetGlobalClientArgs? args = null, InvokeOptions? options = null)
=> Pulumi.Deployment.Instance.InvokeAsync<GetGlobalClientResult>("auth0:index/getGlobalClient:getGlobalClient", args ?? new GetGlobalClientArgs(), options.WithDefaults());
/// <summary>
/// Retrieves a tenant's global Auth0 Application client.
///
/// {{% examples %}}
/// ## Example Usage
/// {{% example %}}
///
/// ```csharp
/// using Pulumi;
/// using Auth0 = Pulumi.Auth0;
///
/// class MyStack : Stack
/// {
/// public MyStack()
/// {
/// var @global = Output.Create(Auth0.GetGlobalClient.InvokeAsync());
/// }
///
/// }
/// ```
/// {{% /example %}}
/// {{% /examples %}}
/// </summary>
public static Output<GetGlobalClientResult> Invoke(GetGlobalClientInvokeArgs? args = null, InvokeOptions? options = null)
=> Pulumi.Deployment.Instance.Invoke<GetGlobalClientResult>("auth0:index/getGlobalClient:getGlobalClient", args ?? new GetGlobalClientInvokeArgs(), options.WithDefaults());
}
public sealed class GetGlobalClientArgs : Pulumi.InvokeArgs
{
/// <summary>
/// String. ID of the client.
/// * `client_secret`<sup>1</sup> - String. Secret for the client; keep this private.
/// </summary>
[Input("clientId")]
public string? ClientId { get; set; }
[Input("name")]
public string? Name { get; set; }
public GetGlobalClientArgs()
{
}
}
public sealed class GetGlobalClientInvokeArgs : Pulumi.InvokeArgs
{
/// <summary>
/// String. ID of the client.
/// * `client_secret`<sup>1</sup> - String. Secret for the client; keep this private.
/// </summary>
[Input("clientId")]
public Input<string>? ClientId { get; set; }
[Input("name")]
public Input<string>? Name { get; set; }
public GetGlobalClientInvokeArgs()
{
}
}
[OutputType]
public sealed class GetGlobalClientResult
{
public readonly ImmutableArray<Outputs.GetGlobalClientAddonResult> Addons;
public readonly ImmutableArray<string> AllowedClients;
public readonly ImmutableArray<string> AllowedLogoutUrls;
public readonly ImmutableArray<string> AllowedOrigins;
public readonly string AppType;
public readonly ImmutableArray<string> Callbacks;
/// <summary>
/// String. ID of the client.
/// * `client_secret`<sup>1</sup> - String. Secret for the client; keep this private.
/// </summary>
public readonly string? ClientId;
/// <summary>
/// (Optional) Map(String)
/// </summary>
public readonly ImmutableDictionary<string, object> ClientMetadata;
public readonly string ClientSecret;
public readonly bool CrossOriginAuth;
public readonly string CrossOriginLoc;
/// <summary>
/// String. Content of the custom login page.
/// </summary>
public readonly string CustomLoginPage;
/// <summary>
/// Boolean. Indicates whether a custom login page is to be used.
/// </summary>
public readonly bool CustomLoginPageOn;
public readonly string Description;
public readonly ImmutableDictionary<string, string> EncryptionKey;
public readonly string FormTemplate;
public readonly ImmutableArray<string> GrantTypes;
/// <summary>
/// The provider-assigned unique ID for this managed resource.
/// </summary>
public readonly string Id;
public readonly string InitiateLoginUri;
public readonly bool IsFirstParty;
public readonly bool IsTokenEndpointIpHeaderTrusted;
public readonly ImmutableArray<Outputs.GetGlobalClientJwtConfigurationResult> JwtConfigurations;
public readonly string LogoUri;
public readonly ImmutableArray<Outputs.GetGlobalClientMobileResult> Mobiles;
public readonly string? Name;
public readonly ImmutableArray<Outputs.GetGlobalClientNativeSocialLoginResult> NativeSocialLogins;
public readonly bool OidcConformant;
public readonly string OrganizationRequireBehavior;
public readonly string OrganizationUsage;
public readonly ImmutableArray<Outputs.GetGlobalClientRefreshTokenResult> RefreshTokens;
public readonly ImmutableArray<ImmutableDictionary<string, object>> SigningKeys;
public readonly bool Sso;
public readonly bool SsoDisabled;
public readonly string TokenEndpointAuthMethod;
public readonly ImmutableArray<string> WebOrigins;
[OutputConstructor]
private GetGlobalClientResult(
ImmutableArray<Outputs.GetGlobalClientAddonResult> addons,
ImmutableArray<string> allowedClients,
ImmutableArray<string> allowedLogoutUrls,
ImmutableArray<string> allowedOrigins,
string appType,
ImmutableArray<string> callbacks,
string? clientId,
ImmutableDictionary<string, object> clientMetadata,
string clientSecret,
bool crossOriginAuth,
string crossOriginLoc,
string customLoginPage,
bool customLoginPageOn,
string description,
ImmutableDictionary<string, string> encryptionKey,
string formTemplate,
ImmutableArray<string> grantTypes,
string id,
string initiateLoginUri,
bool isFirstParty,
bool isTokenEndpointIpHeaderTrusted,
ImmutableArray<Outputs.GetGlobalClientJwtConfigurationResult> jwtConfigurations,
string logoUri,
ImmutableArray<Outputs.GetGlobalClientMobileResult> mobiles,
string? name,
ImmutableArray<Outputs.GetGlobalClientNativeSocialLoginResult> nativeSocialLogins,
bool oidcConformant,
string organizationRequireBehavior,
string organizationUsage,
ImmutableArray<Outputs.GetGlobalClientRefreshTokenResult> refreshTokens,
ImmutableArray<ImmutableDictionary<string, object>> signingKeys,
bool sso,
bool ssoDisabled,
string tokenEndpointAuthMethod,
ImmutableArray<string> webOrigins)
{
Addons = addons;
AllowedClients = allowedClients;
AllowedLogoutUrls = allowedLogoutUrls;
AllowedOrigins = allowedOrigins;
AppType = appType;
Callbacks = callbacks;
ClientId = clientId;
ClientMetadata = clientMetadata;
ClientSecret = clientSecret;
CrossOriginAuth = crossOriginAuth;
CrossOriginLoc = crossOriginLoc;
CustomLoginPage = customLoginPage;
CustomLoginPageOn = customLoginPageOn;
Description = description;
EncryptionKey = encryptionKey;
FormTemplate = formTemplate;
GrantTypes = grantTypes;
Id = id;
InitiateLoginUri = initiateLoginUri;
IsFirstParty = isFirstParty;
IsTokenEndpointIpHeaderTrusted = isTokenEndpointIpHeaderTrusted;
JwtConfigurations = jwtConfigurations;
LogoUri = logoUri;
Mobiles = mobiles;
Name = name;
NativeSocialLogins = nativeSocialLogins;
OidcConformant = oidcConformant;
OrganizationRequireBehavior = organizationRequireBehavior;
OrganizationUsage = organizationUsage;
RefreshTokens = refreshTokens;
SigningKeys = signingKeys;
Sso = sso;
SsoDisabled = ssoDisabled;
TokenEndpointAuthMethod = tokenEndpointAuthMethod;
WebOrigins = webOrigins;
}
}
}