Skip to content

Commit 5c04e9e

Browse files
committed
Update did
1 parent 1f43760 commit 5c04e9e

File tree

3 files changed

+17
-0
lines changed

3 files changed

+17
-0
lines changed

src/frontend/src/lib/generated/internet_identity_idl.js

Lines changed: 12 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -15,12 +15,18 @@ export const idlFactory = ({ IDL }) => {
1515
'api_host' : IDL.Opt(IDL.Text),
1616
}),
1717
});
18+
const OpenIdEmailVerification = IDL.Variant({
19+
'Google' : IDL.Null,
20+
'Unknown' : IDL.Null,
21+
'Microsoft' : IDL.Null,
22+
});
1823
const OpenIdConfig = IDL.Record({
1924
'auth_uri' : IDL.Text,
2025
'jwks_uri' : IDL.Text,
2126
'logo' : IDL.Text,
2227
'name' : IDL.Text,
2328
'fedcm_uri' : IDL.Opt(IDL.Text),
29+
'email_verification' : IDL.Opt(OpenIdEmailVerification),
2430
'issuer' : IDL.Text,
2531
'auth_scope' : IDL.Vec(IDL.Text),
2632
'client_id' : IDL.Text,
@@ -899,12 +905,18 @@ export const init = ({ IDL }) => {
899905
'api_host' : IDL.Opt(IDL.Text),
900906
}),
901907
});
908+
const OpenIdEmailVerification = IDL.Variant({
909+
'Google' : IDL.Null,
910+
'Unknown' : IDL.Null,
911+
'Microsoft' : IDL.Null,
912+
});
902913
const OpenIdConfig = IDL.Record({
903914
'auth_uri' : IDL.Text,
904915
'jwks_uri' : IDL.Text,
905916
'logo' : IDL.Text,
906917
'name' : IDL.Text,
907918
'fedcm_uri' : IDL.Opt(IDL.Text),
919+
'email_verification' : IDL.Opt(OpenIdEmailVerification),
908920
'issuer' : IDL.Text,
909921
'auth_scope' : IDL.Vec(IDL.Text),
910922
'client_id' : IDL.Text,

src/frontend/src/lib/generated/internet_identity_types.d.ts

Lines changed: 4 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -812,6 +812,7 @@ export interface OpenIdConfig {
812812
'logo' : string,
813813
'name' : string,
814814
'fedcm_uri' : [] | [string],
815+
'email_verification' : [] | [OpenIdEmailVerification],
815816
'issuer' : string,
816817
'auth_scope' : Array<string>,
817818
'client_id' : string,
@@ -838,6 +839,9 @@ export type OpenIdDelegationError = { 'NoSuchDelegation' : null } |
838839
{ 'NoSuchAnchor' : null } |
839840
{ 'JwtExpired' : null } |
840841
{ 'JwtVerificationFailed' : null };
842+
export type OpenIdEmailVerification = { 'Google' : null } |
843+
{ 'Unknown' : null } |
844+
{ 'Microsoft' : null };
841845
export interface OpenIdPrepareDelegationResponse {
842846
'user_key' : UserKey,
843847
'expiration' : Timestamp,

src/internet_identity/internet_identity.did

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -367,6 +367,7 @@ type JWT = text;
367367
type Salt = blob;
368368

369369
type OpenIdEmailVerification = variant {
370+
Unknown;
370371
Google;
371372
Microsoft;
372373
};

0 commit comments

Comments
 (0)