Esempio n. 1
0
        public override async Task SaveAuthTokenAsync(JWTEntity authToken)
        {
            var user = await userManager.GetCurrentUserAsync();

            if (user != null)
            {
                user.AuthToken = authToken;
                await userManager.SetCurrentUserAsync(user);
            }
        }
 Task <IApiResponse <JWTEntity> > IApiConnectionPlatformHelper.RefreshToken(JWTEntity jwt)
 => Account.RefreshToken(jwt);
 public abstract Task SaveAuthTokenAsync(JWTEntity authToken);