diff --git a/VAMobile/src/api/auth/handleTokenCallbackUrl.tsx b/VAMobile/src/api/auth/handleTokenCallbackUrl.tsx index 7a324fe917b..84ae68d0df4 100644 --- a/VAMobile/src/api/auth/handleTokenCallbackUrl.tsx +++ b/VAMobile/src/api/auth/handleTokenCallbackUrl.tsx @@ -1,6 +1,6 @@ import { useMutation } from '@tanstack/react-query' -import { UserAuthSettings, handleTokenCallbackParms } from 'api/types' +import { handleTokenCallbackParms } from 'api/types' import { Events } from 'constants/analytics' import { logAnalyticsEvent, logNonFatalErrorToFirebase } from 'utils/analytics' import { getCodeVerifier, loginFinish, loginStart, parseCallbackUrlParams, processAuthResponse } from 'utils/auth' @@ -9,7 +9,6 @@ import getEnv from 'utils/env' import { clearCookies } from 'utils/rnAuthSesson' import { usePostLoggedIn } from './postLoggedIn' -import { authKeys } from './queryKeys' const { AUTH_SIS_TOKEN_EXCHANGE_URL } = getEnv() diff --git a/VAMobile/src/utils/auth.ts b/VAMobile/src/utils/auth.ts index 7d828ef45a8..1fd261d4f22 100644 --- a/VAMobile/src/utils/auth.ts +++ b/VAMobile/src/utils/auth.ts @@ -192,7 +192,6 @@ export const clearStoredAuthCreds = async (): Promise => { /** * Generates code verifier and challenge, and stores the code verifier in AsyncStorage. * The codeChallenge is returned and can be used to start the authorization flow. - * @returns {string} codeChallenge */ export const generateCodeVerifierAndChallenge = async (): Promise => { const { codeVerifier, codeChallenge } = await pkceAuthorizeParams() @@ -207,7 +206,6 @@ export const generateCodeVerifierAndChallenge = async (): Promise => { /** * Retrieves the codeVerifier from AsyncStorage. * The codeVerifier is generated using the pkceAuthorizeParams helper, and is used to verify the authorization flow. - * @returns {Promise} The codeVerifier stored in AsyncStorage, or null if it does not exist. */ export const getCodeVerifier = async (): Promise => { const codeVerifier = await AsyncStorage.getItem(CODE_VERIFIER)