public async Task <Tokens> BuildJWTToken(CTWhoami whoami, List <string> scopes, FunctionContext <dynamic> fc) { await checkKeys(fc); string idToken = createIDToken(whoami, scopes, fc); string accessToken = createAccessToken(whoami, scopes, fc); string refreshToken = createRefreshToken(fc, accessToken); return(Tokens.BuildTokens(idToken, accessToken, refreshToken, JWTService.Expires_In_AccessToken)); }