Exemple #1
0
        private async Task SaveTokens(string athleteId, string accessToken, string refreshToken,
                                      DateTime accessTokenExpiresAtUtc)
        {
            await _tokenRepository.SaveTokenSet(athleteId, accessToken, refreshToken, accessTokenExpiresAtUtc);

            await _tokenCache.SaveTokenSet(athleteId, accessToken, refreshToken, accessTokenExpiresAtUtc);
        }