@fabriq/auth-client
Advanced tools
Comparing version 0.2.3 to 0.2.4
@@ -6,3 +6,3 @@ { | ||
"name": "@fabriq/auth-client", | ||
"version": "0.2.3", | ||
"version": "0.2.4", | ||
"description": "This is the fabriq auth client package, that interacts with the future auth service.", | ||
@@ -9,0 +9,0 @@ "license": "UNLICENSED", |
import { JsonWebPublicKey } from "../../../jwt/_mod_full.js"; | ||
import { AuthConfig, Scope, UnconfirmedUser } from "../../types.js"; | ||
import { Scope, UnconfirmedUser } from "../../types.js"; | ||
export interface Server { | ||
@@ -56,2 +56,3 @@ registerSharedClient(input: RegisterSharedClientInput): Promise<RegisterSharedClientResult>; | ||
language: string; | ||
cognitoUsername?: string; | ||
}): Promise<MigrateResult>; | ||
@@ -89,3 +90,8 @@ renameUser(input: { | ||
outcome: "success"; | ||
authConfig: AuthConfig; | ||
authConfig: { | ||
ssoMandatory: boolean; | ||
defaultSSOId?: string; | ||
ssoLabel?: string; | ||
emailPatterns?: string[]; | ||
}; | ||
} | { | ||
@@ -92,0 +98,0 @@ outcome: "failed"; |
import type { Credentials } from "../../auth_service/interface/_mod.js"; | ||
import { AuthConfig } from "../../types.js"; | ||
import { inferPayload } from "../../../tokens/_mod.js"; | ||
@@ -102,3 +101,8 @@ import { AccessToken, IdToken, RefreshToken } from "../../tokens.js"; | ||
outcome: "success"; | ||
authConfig: AuthConfig; | ||
authConfig: { | ||
ssoMandatory: boolean; | ||
defaultSSOId?: string; | ||
ssoLabel?: string; | ||
emailPatterns?: string[]; | ||
}; | ||
} | { | ||
@@ -105,0 +109,0 @@ outcome: "failed"; |
@@ -125,2 +125,3 @@ export declare type IdpProfile = { | ||
emailPatterns?: string[]; | ||
label?: string; | ||
} | ||
@@ -127,0 +128,0 @@ export declare type AuthConfig = { |
395861
10348