Skip to content

Commit f53e162

Browse files
committed
SAML work
1 parent fe47338 commit f53e162

File tree

1 file changed

+19
-0
lines changed

1 file changed

+19
-0
lines changed

src/FusionAuthClient.ts

Lines changed: 19 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1686,6 +1686,23 @@ export class FusionAuthClient {
16861686
.go();
16871687
}
16881688

1689+
/**
1690+
* Re-sends the verification email to the user. If the Application has configured a specific email template this will be used
1691+
* instead of the tenant configuration.
1692+
*
1693+
* @param {UUID} applicationId The unique Application Id to used to resolve an application specific email template.
1694+
* @param {string} email The email address of the user that needs a new verification email.
1695+
* @returns {Promise<ClientResponse<VerifyEmailResponse>>}
1696+
*/
1697+
resendEmailVerificationWithApplicationTemplate(applicationId: UUID, email: string): Promise<ClientResponse<VerifyEmailResponse>> {
1698+
return this.start<VerifyEmailResponse, Errors>()
1699+
.withUri('/api/user/verify-email')
1700+
.withParameter('applicationId', applicationId)
1701+
.withParameter('email', email)
1702+
.withMethod("PUT")
1703+
.go();
1704+
}
1705+
16891706
/**
16901707
* Re-sends the application registration verification email to the user.
16911708
*
@@ -4336,6 +4353,7 @@ export interface ExternalIdentifierConfiguration {
43364353
passwordlessLoginTimeToLiveInSeconds?: number;
43374354
registrationVerificationIdGenerator?: SecureGeneratorConfiguration;
43384355
registrationVerificationIdTimeToLiveInSeconds?: number;
4356+
samlv2AuthNRequestIdTimeToLiveInSeconds?: number;
43394357
setupPasswordIdGenerator?: SecureGeneratorConfiguration;
43404358
setupPasswordIdTimeToLiveInSeconds?: number;
43414359
twoFactorIdTimeToLiveInSeconds?: number;
@@ -4832,6 +4850,7 @@ export interface IdentityProviderResponse {
48324850
* @author Daniel DeGroff
48334851
*/
48344852
export interface IdentityProviderStartLoginRequest extends BaseLoginRequest {
4853+
data?: Record<string, string>;
48354854
identityProviderId?: UUID;
48364855
loginId?: string;
48374856
state?: Record<string, any>;

0 commit comments

Comments
 (0)