added token revoke to logout

This commit is contained in:
Kima
2023-09-19 18:58:08 +02:00
parent 34f9929b16
commit 50d1803a18
4 changed files with 43 additions and 9 deletions

View File

@@ -3,6 +3,7 @@ import 'package:intl/intl.dart';
class KretaAPI {
// IDP API
static const login = BaseKreta.kretaIdp + KretaApiEndpoints.token;
static const logout = BaseKreta.kretaIdp + KretaApiEndpoints.revoke;
static const nonce = BaseKreta.kretaIdp + KretaApiEndpoints.nonce;
static const clientId = "kreta-ellenorzo-mobile-android";
@@ -86,6 +87,7 @@ class BaseKreta {
class KretaApiEndpoints {
static const token = "/connect/token";
static const revoke = "/connect/revocation";
static const nonce = "/nonce";
static const notes = "/ellenorzo/V3/Sajat/Feljegyzesek";
static const events = "/ellenorzo/V3/Sajat/FaliujsagElemek";