commit | c1aaf933978d870fd9f06bd84ac70019c2ac5e9b | [log] [tgz] |
---|---|---|
author | Akron <nils@diewald-online.de> | Wed Jun 09 12:19:15 2021 +0200 |
committer | Akron <nils@diewald-online.de> | Fri Jun 11 12:17:10 2021 +0200 |
tree | 54fec5eed204a102fdd3bbfa2fcc9224406a18c5 | |
parent | 9ffb4a339104c527d9acb5317cea547e53847950 [diff] [blame] |
Allow to revoke tokens Change-Id: I2e55935441b108740a164385923c5b7b994a24ed
diff --git a/t/server/mock.pl b/t/server/mock.pl index c3808f6..6c9318f 100644 --- a/t/server/mock.pl +++ b/t/server/mock.pl
@@ -771,6 +771,16 @@ ); }; +post '/v1.0/oauth2/revoke/super' => sub { + my $c = shift; + + my $s_client_id = $c->param('super_client_id'); + my $s_client_secret = $c->param('super_client_secret'); + my $token = $c->param('token'); + + return $c->render(text => 'SUCCESS'); +}; + app->start;