clean up RemoteAuthService
This commit is contained in:
parent
3338243cea
commit
80b7f192f1
4 changed files with 17 additions and 25 deletions
|
@ -12,7 +12,6 @@
|
|||
//
|
||||
// You should have received a copy of the GNU Affero General Public License
|
||||
// along with this program. If not, see <https://www.gnu.org/licenses/>.
|
||||
using System.Diagnostics.CodeAnalysis;
|
||||
using System.Text;
|
||||
using System.Text.Json;
|
||||
using System.Text.Json.Serialization;
|
||||
|
@ -69,7 +68,7 @@ public partial class RemoteAuthService
|
|||
return new RemoteUser(user.Id, user.Email);
|
||||
}
|
||||
|
||||
[SuppressMessage("ReSharper", "ClassNeverInstantiated.Local")]
|
||||
// ReSharper disable once ClassNeverInstantiated.Local
|
||||
private record GoogleTokenResponse([property: JsonPropertyName("id_token")] string IdToken);
|
||||
|
||||
private record GoogleUser(
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue