Skip to content
This repository has been archived by the owner on Aug 21, 2023. It is now read-only.

Commit

Permalink
Adds 'listDevices' interface to CognitoUser class for TypeScript type (
Browse files Browse the repository at this point in the history
  • Loading branch information
mrowles authored and mlabieniec committed Feb 13, 2018
1 parent 5b1d2df commit 9b25fec
Showing 1 changed file with 1 addition and 0 deletions.
1 change: 1 addition & 0 deletions index.d.ts
Expand Up @@ -59,6 +59,7 @@ declare module "amazon-cognito-identity-js" {
public setDeviceStatusRemembered(callbacks: { onSuccess: (success: string) => void, onFailure: (err: any) => void }): void;
public setDeviceStatusNotRemembered(callbacks: { onSuccess: (success: string) => void, onFailure: (err: any) => void }): void;
public getDevice(callbacks: {onSuccess: (success: string) => void, onFailure: (err: Error) => void}): any;
public listDevices(limit: number, paginationToken: string, callbacks: {onSuccess: (data: any) => void, onFailure: (err: Error) => void}): void;
public sendMFACode(confirmationCode: string, callbacks: { onSuccess: (session: CognitoUserSession) => void, onFailure: (err: any) => void }): void;
public completeNewPasswordChallenge(newPassword: string,
requiredAttributeData: any,
Expand Down

0 comments on commit 9b25fec

Please sign in to comment.