@@ -3266,6 +3266,28 @@ export enum Algorithm {
32663266 none = "None"
32673267}
32683268
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+
32693291/**
32703292 * @author Seth Musselman
32713293 */
@@ -3451,6 +3473,7 @@ export interface BaseIdentityProvider<D extends BaseIdentityProviderApplicationC
34513473 data ?: Record < string , any > ;
34523474 debug ?: boolean ;
34533475 id ?: UUID ;
3476+ lambdaConfiguration ?: LambdaConfiguration ;
34543477 name ?: string ;
34553478 type ?: IdentityProviderType ;
34563479}
@@ -3633,6 +3656,9 @@ export enum ContentStatus {
36333656 REJECTED
36343657}
36353658
3659+ /**
3660+ * @author Trevor Smith
3661+ */
36363662export interface CORSConfiguration extends Enableable {
36373663 allowCredentials ?: boolean ;
36383664 allowedHeaders ?: Array < string > ;
@@ -4346,7 +4372,8 @@ export enum IdentityProviderType {
43464372 Google ,
43474373 Twitter ,
43484374 SAMLv2 ,
4349- HYPR
4375+ HYPR ,
4376+ Apple
43504377}
43514378
43524379/**
@@ -4455,6 +4482,12 @@ export interface JSONWebKey {
44554482 y ?: string ;
44564483}
44574484
4485+ /**
4486+ * Interface for any object that can provide JSON Web key Information.
4487+ */
4488+ export interface JSONWebKeyInfoProvider {
4489+ }
4490+
44584491/**
44594492 * @author Daniel DeGroff
44604493 */
@@ -4492,7 +4525,10 @@ export interface JWT {
44924525export interface JWTConfiguration extends Enableable {
44934526 accessTokenKeyId ?: UUID ;
44944527 idTokenKeyId ?: UUID ;
4528+ refreshTokenExpirationPolicy ?: RefreshTokenExpirationPolicy ;
4529+ refreshTokenRevocationPolicy ?: RefreshTokenRevocationPolicy ;
44954530 refreshTokenTimeToLiveInMinutes ?: number ;
4531+ refreshTokenUsagePolicy ?: RefreshTokenUsagePolicy ;
44964532 timeToLiveInSeconds ?: number ;
44974533}
44984534
@@ -4550,13 +4586,13 @@ export interface Key {
45504586 certificate ?: string ;
45514587 certificateInformation ?: CertificateInformation ;
45524588 expirationInstant ?: number ;
4589+ hasPrivateKey ?: boolean ;
45534590 id ?: UUID ;
45544591 insertInstant ?: number ;
45554592 issuer ?: string ;
45564593 kid ?: string ;
45574594 length ?: number ;
45584595 name ?: string ;
4559- pair ?: boolean ;
45604596 privateKey ?: string ;
45614597 publicKey ?: string ;
45624598 secret ?: string ;
@@ -4652,7 +4688,8 @@ export enum LambdaType {
46524688 JWTPopulate ,
46534689 OpenIDReconcile ,
46544690 SAMLv2Reconcile ,
4655- SAMLv2Populate
4691+ SAMLv2Populate ,
4692+ GenericIdpReconcile
46564693}
46574694
46584695/**
@@ -5017,7 +5054,6 @@ export interface OpenIdConnectIdentityProvider extends BaseIdentityProvider<Open
50175054 buttonImageURL ?: string ;
50185055 buttonText ?: string ;
50195056 domains ?: Array < string > ;
5020- lambdaConfiguration ?: LambdaConfiguration ;
50215057 oauth2 ?: IdentityProviderOauth2Configuration ;
50225058}
50235059
@@ -5171,6 +5207,7 @@ export interface RefreshRequest {
51715207 * @author Daniel DeGroff
51725208 */
51735209export interface RefreshResponse {
5210+ refreshToken ?: string ;
51745211 refreshTokens ?: Array < RefreshToken > ;
51755212 token ?: string ;
51765213}
@@ -5189,6 +5226,30 @@ export interface RefreshToken {
51895226 userId ?: UUID ;
51905227}
51915228
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+
51925253export interface RegistrationConfiguration extends Enableable {
51935254 birthDate ?: Requirable ;
51945255 confirmPassword ?: boolean ;
@@ -5230,6 +5291,7 @@ export interface RegistrationRequest {
52305291 * @author Brian Pontarelli
52315292 */
52325293export interface RegistrationResponse {
5294+ refreshToken ?: string ;
52335295 registration ?: UserRegistration ;
52345296 token ?: string ;
52355297 user ?: User ;
@@ -5259,6 +5321,14 @@ export interface Requirable extends Enableable {
52595321 required ?: boolean ;
52605322}
52615323
5324+ /**
5325+ * Interface describing the need for CORS configuration.
5326+ *
5327+ * @author Daniel DeGroff
5328+ */
5329+ export interface RequiresCORSConfiguration {
5330+ }
5331+
52625332/**
52635333 * @author Brian Pontarelli
52645334 */
@@ -5290,7 +5360,6 @@ export interface SAMLv2IdentityProvider extends BaseIdentityProvider<SAMLv2Appli
52905360 idpEndpoint ?: string ;
52915361 issuer ?: string ;
52925362 keyId ?: UUID ;
5293- lambdaConfiguration ?: LambdaConfiguration ;
52945363 useNameIdForEmail ?: boolean ;
52955364}
52965365
0 commit comments