@@ -3266,6 +3266,28 @@ export enum Algorithm {
3266
3266
none = "None"
3267
3267
}
3268
3268
3269
+ /**
3270
+ * @author Daniel DeGroff
3271
+ */
3272
+ export interface AppleApplicationConfiguration extends BaseIdentityProviderApplicationConfiguration {
3273
+ buttonText ?: string ;
3274
+ keyId ?: UUID ;
3275
+ scope ?: string ;
3276
+ servicesId ?: string ;
3277
+ teamId ?: string ;
3278
+ }
3279
+
3280
+ /**
3281
+ * @author Daniel DeGroff
3282
+ */
3283
+ export interface AppleIdentityProvider extends BaseIdentityProvider < AppleApplicationConfiguration > {
3284
+ buttonText ?: string ;
3285
+ keyId ?: UUID ;
3286
+ scope ?: string ;
3287
+ servicesId ?: string ;
3288
+ teamId ?: string ;
3289
+ }
3290
+
3269
3291
/**
3270
3292
* @author Seth Musselman
3271
3293
*/
@@ -3451,6 +3473,7 @@ export interface BaseIdentityProvider<D extends BaseIdentityProviderApplicationC
3451
3473
data ?: Record < string , any > ;
3452
3474
debug ?: boolean ;
3453
3475
id ?: UUID ;
3476
+ lambdaConfiguration ?: LambdaConfiguration ;
3454
3477
name ?: string ;
3455
3478
type ?: IdentityProviderType ;
3456
3479
}
@@ -3633,6 +3656,9 @@ export enum ContentStatus {
3633
3656
REJECTED
3634
3657
}
3635
3658
3659
+ /**
3660
+ * @author Trevor Smith
3661
+ */
3636
3662
export interface CORSConfiguration extends Enableable {
3637
3663
allowCredentials ?: boolean ;
3638
3664
allowedHeaders ?: Array < string > ;
@@ -4346,7 +4372,8 @@ export enum IdentityProviderType {
4346
4372
Google ,
4347
4373
Twitter ,
4348
4374
SAMLv2 ,
4349
- HYPR
4375
+ HYPR ,
4376
+ Apple
4350
4377
}
4351
4378
4352
4379
/**
@@ -4455,6 +4482,12 @@ export interface JSONWebKey {
4455
4482
y ?: string ;
4456
4483
}
4457
4484
4485
+ /**
4486
+ * Interface for any object that can provide JSON Web key Information.
4487
+ */
4488
+ export interface JSONWebKeyInfoProvider {
4489
+ }
4490
+
4458
4491
/**
4459
4492
* @author Daniel DeGroff
4460
4493
*/
@@ -4492,7 +4525,10 @@ export interface JWT {
4492
4525
export interface JWTConfiguration extends Enableable {
4493
4526
accessTokenKeyId ?: UUID ;
4494
4527
idTokenKeyId ?: UUID ;
4528
+ refreshTokenExpirationPolicy ?: RefreshTokenExpirationPolicy ;
4529
+ refreshTokenRevocationPolicy ?: RefreshTokenRevocationPolicy ;
4495
4530
refreshTokenTimeToLiveInMinutes ?: number ;
4531
+ refreshTokenUsagePolicy ?: RefreshTokenUsagePolicy ;
4496
4532
timeToLiveInSeconds ?: number ;
4497
4533
}
4498
4534
@@ -4550,13 +4586,13 @@ export interface Key {
4550
4586
certificate ?: string ;
4551
4587
certificateInformation ?: CertificateInformation ;
4552
4588
expirationInstant ?: number ;
4589
+ hasPrivateKey ?: boolean ;
4553
4590
id ?: UUID ;
4554
4591
insertInstant ?: number ;
4555
4592
issuer ?: string ;
4556
4593
kid ?: string ;
4557
4594
length ?: number ;
4558
4595
name ?: string ;
4559
- pair ?: boolean ;
4560
4596
privateKey ?: string ;
4561
4597
publicKey ?: string ;
4562
4598
secret ?: string ;
@@ -4652,7 +4688,8 @@ export enum LambdaType {
4652
4688
JWTPopulate ,
4653
4689
OpenIDReconcile ,
4654
4690
SAMLv2Reconcile ,
4655
- SAMLv2Populate
4691
+ SAMLv2Populate ,
4692
+ GenericIdpReconcile
4656
4693
}
4657
4694
4658
4695
/**
@@ -5017,7 +5054,6 @@ export interface OpenIdConnectIdentityProvider extends BaseIdentityProvider<Open
5017
5054
buttonImageURL ?: string ;
5018
5055
buttonText ?: string ;
5019
5056
domains ?: Array < string > ;
5020
- lambdaConfiguration ?: LambdaConfiguration ;
5021
5057
oauth2 ?: IdentityProviderOauth2Configuration ;
5022
5058
}
5023
5059
@@ -5171,6 +5207,7 @@ export interface RefreshRequest {
5171
5207
* @author Daniel DeGroff
5172
5208
*/
5173
5209
export interface RefreshResponse {
5210
+ refreshToken ?: string ;
5174
5211
refreshTokens ?: Array < RefreshToken > ;
5175
5212
token ?: string ;
5176
5213
}
@@ -5189,6 +5226,30 @@ export interface RefreshToken {
5189
5226
userId ?: UUID ;
5190
5227
}
5191
5228
5229
+ /**
5230
+ * @author Daniel DeGroff
5231
+ */
5232
+ export enum RefreshTokenExpirationPolicy {
5233
+ Fixed ,
5234
+ SlidingWindow
5235
+ }
5236
+
5237
+ /**
5238
+ * @author Daniel DeGroff
5239
+ */
5240
+ export interface RefreshTokenRevocationPolicy {
5241
+ onLoginPrevented ?: boolean ;
5242
+ onPasswordChanged ?: boolean ;
5243
+ }
5244
+
5245
+ /**
5246
+ * @author Daniel DeGroff
5247
+ */
5248
+ export enum RefreshTokenUsagePolicy {
5249
+ Reusable ,
5250
+ OneTimeUse
5251
+ }
5252
+
5192
5253
export interface RegistrationConfiguration extends Enableable {
5193
5254
birthDate ?: Requirable ;
5194
5255
confirmPassword ?: boolean ;
@@ -5230,6 +5291,7 @@ export interface RegistrationRequest {
5230
5291
* @author Brian Pontarelli
5231
5292
*/
5232
5293
export interface RegistrationResponse {
5294
+ refreshToken ?: string ;
5233
5295
registration ?: UserRegistration ;
5234
5296
token ?: string ;
5235
5297
user ?: User ;
@@ -5259,6 +5321,14 @@ export interface Requirable extends Enableable {
5259
5321
required ?: boolean ;
5260
5322
}
5261
5323
5324
+ /**
5325
+ * Interface describing the need for CORS configuration.
5326
+ *
5327
+ * @author Daniel DeGroff
5328
+ */
5329
+ export interface RequiresCORSConfiguration {
5330
+ }
5331
+
5262
5332
/**
5263
5333
* @author Brian Pontarelli
5264
5334
*/
@@ -5290,7 +5360,6 @@ export interface SAMLv2IdentityProvider extends BaseIdentityProvider<SAMLv2Appli
5290
5360
idpEndpoint ?: string ;
5291
5361
issuer ?: string ;
5292
5362
keyId ?: UUID ;
5293
- lambdaConfiguration ?: LambdaConfiguration ;
5294
5363
useNameIdForEmail ?: boolean ;
5295
5364
}
5296
5365
0 commit comments