Skip to content
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
Show all changes
22 commits
Select commit Hold shift + click to select a range
ee60cd1
[chore] Release 11.1.0 (#1914)
lahirumaramba Oct 6, 2022
294bffd
feat(auth): Support sms region config change on Tenant and Project le…
pragatimodi Oct 7, 2022
d97ccff
build(deps-dev): bump yargs from 17.5.1 to 17.6.0 (#1917)
dependabot[bot] Oct 11, 2022
ca3c7b8
build(deps-dev): bump @types/mocha from 9.1.1 to 10.0.0 (#1919)
dependabot[bot] Oct 11, 2022
12e4f11
build(deps-dev): bump @typescript-eslint/parser from 5.38.1 to 5.40.0…
dependabot[bot] Oct 11, 2022
5a6948a
build(deps-dev): bump @typescript-eslint/eslint-plugin (#1927)
dependabot[bot] Oct 11, 2022
f187af3
build(deps): bump @firebase/database-compat from 0.2.6 to 0.2.7 (#1928)
dependabot[bot] Oct 13, 2022
d7f40cb
build(deps-dev): bump minimist from 1.2.6 to 1.2.7 (#1930)
dependabot[bot] Oct 13, 2022
d7acec7
build(deps): bump jwks-rsa from 2.1.4 to 2.1.5 (#1931)
dependabot[bot] Oct 13, 2022
9b11462
build(deps-dev): bump @microsoft/api-extractor from 7.31.2 to 7.33.1 …
dependabot[bot] Oct 14, 2022
e4891e6
build(deps-dev): bump bcrypt from 5.0.1 to 5.1.0 (#1934)
dependabot[bot] Oct 14, 2022
67150a3
build(deps): bump @firebase/database-types from 0.9.13 to 0.9.16 (#1932)
dependabot[bot] Oct 14, 2022
d8363fe
build(deps-dev): bump @firebase/app-compat from 0.1.34 to 0.1.37 (#1937)
dependabot[bot] Oct 17, 2022
576e8d2
build(deps): bump @firebase/database-compat from 0.2.7 to 0.2.9 (#1940)
dependabot[bot] Oct 17, 2022
3f0bf6e
build(deps-dev): bump @microsoft/api-extractor from 7.33.1 to 7.33.2 …
dependabot[bot] Oct 17, 2022
61202cc
build(deps-dev): bump sinon from 14.0.0 to 14.0.1 (#1938)
dependabot[bot] Oct 17, 2022
6b4b1ba
chore(fs): Upgrade firestore dependency (#1941)
lahirumaramba Oct 17, 2022
43eed18
[chore] Release 11.2.0 (#1942)
lahirumaramba Oct 17, 2022
cfe1327
build(deps-dev): bump @typescript-eslint/eslint-plugin (#1943)
dependabot[bot] Oct 19, 2022
d256f79
build(deps-dev): bump mocha from 10.0.0 to 10.1.0 (#1944)
dependabot[bot] Oct 19, 2022
6ed9722
build(deps-dev): bump @microsoft/api-extractor from 7.33.2 to 7.33.4 …
dependabot[bot] Oct 19, 2022
d551107
fix(fcm): Increase FCM timeout to 15s (#1947)
lahirumaramba Oct 20, 2022
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
47 changes: 47 additions & 0 deletions etc/firebase-admin.auth.api.md
Original file line number Diff line number Diff line change
Expand Up @@ -23,10 +23,35 @@ export interface ActionCodeSettings {
url: string;
}

// @public
export interface AllowByDefault {
disallowedRegions: string[];
}

// @public
export interface AllowByDefaultWrap {
allowByDefault: AllowByDefault;
// @alpha (undocumented)
allowlistOnly?: never;
}

// @public
export interface AllowlistOnly {
allowedRegions: string[];
}

// @public
export interface AllowlistOnlyWrap {
// @alpha (undocumented)
allowByDefault?: never;
allowlistOnly: AllowlistOnly;
}

// @public
export class Auth extends BaseAuth {
// Warning: (ae-forgotten-export) The symbol "App" needs to be exported by the entry point index.d.ts
get app(): App;
projectConfigManager(): ProjectConfigManager;
tenantManager(): TenantManager;
}

Expand Down Expand Up @@ -309,6 +334,18 @@ export class PhoneMultiFactorInfo extends MultiFactorInfo {
toJSON(): object;
}

// @public
export class ProjectConfig {
readonly smsRegionConfig?: SmsRegionConfig;
toJSON(): object;
}

// @public
export class ProjectConfigManager {
getProjectConfig(): Promise<ProjectConfig>;
updateProjectConfig(projectConfigOptions: UpdateProjectConfigRequest): Promise<ProjectConfig>;
}

// @public
export interface ProviderIdentifier {
// (undocumented)
Expand Down Expand Up @@ -342,13 +379,17 @@ export interface SessionCookieOptions {
expiresIn: number;
}

// @public
export type SmsRegionConfig = AllowByDefaultWrap | AllowlistOnlyWrap;

// @public
export class Tenant {
// (undocumented)
readonly anonymousSignInEnabled: boolean;
readonly displayName?: string;
get emailSignInConfig(): EmailSignInProviderConfig | undefined;
get multiFactorConfig(): MultiFactorConfig | undefined;
readonly smsRegionConfig?: SmsRegionConfig;
readonly tenantId: string;
readonly testPhoneNumbers?: {
[phoneNumber: string]: string;
Expand Down Expand Up @@ -391,6 +432,11 @@ export interface UpdatePhoneMultiFactorInfoRequest extends BaseUpdateMultiFactor
phoneNumber: string;
}

// @public
export interface UpdateProjectConfigRequest {
smsRegionConfig?: SmsRegionConfig;
}

// @public
export interface UpdateRequest {
disabled?: boolean;
Expand All @@ -411,6 +457,7 @@ export interface UpdateTenantRequest {
displayName?: string;
emailSignInConfig?: EmailSignInProviderConfig;
multiFactorConfig?: MultiFactorConfig;
smsRegionConfig?: SmsRegionConfig;
testPhoneNumbers?: {
[phoneNumber: string]: string;
} | null;
Expand Down
Loading