Skip to content

Commit a15a0be

Browse files
committed
Remove overload
1 parent 4ecbafc commit a15a0be

File tree

1 file changed

+1
-15
lines changed

1 file changed

+1
-15
lines changed

src/auth/auth.ts

+1-15
Original file line numberDiff line numberDiff line change
@@ -134,21 +134,7 @@ export interface BaseAuth<T extends AbstractAuthRequestHandler> {
134134
* @return {Promise<DecodedIdToken>} A Promise that will be fulfilled after a successful
135135
* verification.
136136
*/
137-
verifyIdToken(idToken: string, checkRevoked: boolean): Promise<DecodedIdToken>;
138-
139-
/**
140-
* // TODO: DEFAULT IMPORT (documentation??????)
141-
* Verifies a JWT auth token. Returns a Promise with the tokens claims. Rejects
142-
* the promise if the token could not be verified. If checkRevoked is set to true,
143-
* verifies if the session corresponding to the ID token was revoked. If the corresponding
144-
* user's session was invalidated, an auth/id-token-revoked error is thrown. If not specified
145-
* the check is not applied.
146-
*
147-
* @param {string} idToken The JWT to verify.
148-
* @return {Promise<DecodedIdToken>} A Promise that will be fulfilled after a successful
149-
* verification.
150-
*/
151-
verifyIdToken(idToken: string): Promise<DecodedIdToken>;
137+
verifyIdToken(idToken: string, checkRevoked?: boolean): Promise<DecodedIdToken>;
152138

153139
/**
154140
* Looks up the user identified by the provided user id and returns a promise that is

0 commit comments

Comments
 (0)