Revision b6426ead snf-astakos-app/astakos/oa2/management/commands/oauth2-client-remove.py
b/snf-astakos-app/astakos/oa2/management/commands/oauth2-client-remove.py | ||
---|---|---|
31 | 31 |
# interpreted as representing official policies, either expressed |
32 | 32 |
# or implied, of GRNET S.A. |
33 | 33 |
|
34 |
from django.core.management.base import BaseCommand, CommandError
|
|
34 |
from django.core.management.base import CommandError |
|
35 | 35 |
from django.db import transaction |
36 |
|
|
37 |
from snf_django.management.commands import SynnefoCommand |
|
36 | 38 |
from astakos.oa2.models import Client |
37 | 39 |
|
38 | 40 |
|
39 |
class Command(BaseCommand):
|
|
41 |
class Command(SynnefoCommand):
|
|
40 | 42 |
args = "<client ID or identifier>" |
41 | 43 |
help = "Remove an oauth2 client along with its registered redirect urls" |
42 | 44 |
|
Also available in: Unified diff