コード例 #1
0
        public BaseResponce <AccessToken> RevokeRefreshToken(string refreshToken)
        {
            BaseResponce <PersonelTablosu> personelResponce = personelService.RefreshTokenilePersoneliGetir(refreshToken);

            if (personelResponce.Success)
            {
                personelService.RefreshTokenSil(personelResponce.Extra);
                return(new BaseResponce <AccessToken>(new AccessToken()));
            }
            else
            {
                return(new BaseResponce <AccessToken>("Refresh Token Bulunamadı"));
            }
        }