( accessToken: string, timeout = 10000, )
| 27 | } |
| 28 | |
| 29 | export async function getOauthProfileFromOauthToken( |
| 30 | accessToken: string, |
| 31 | timeout = 10000, |
| 32 | ): Promise<OAuthProfileResponse | undefined> { |
| 33 | try { |
| 34 | return await getIdentityClient().getOauthProfileFromOauthToken({ |
| 35 | accessToken, |
| 36 | timeout, |
| 37 | }) |
| 38 | } catch (error) { |
| 39 | logError(error as Error) |
| 40 | } |
| 41 | } |
nothing calls this directly
no test coverage detected