gws.base.auth.cli
¶
Source code: gws.base.auth.cli
Module Contents¶
- class gws.base.auth.cli.Object¶
Bases:
gws.Node
Configurable GWS object.
- sessions(p: gws.EmptyRequest)¶
Show active authorization sessions
- sessrem(p: RemoveParams)¶
Remove authorization sessions.
- class gws.base.auth.cli.RemoveParams(*args, **kwargs)¶
Bases:
gws.CliParams
CLI params
- all: bool | None¶
Remove all sessions.
- older: int | None¶
Remove sessions older than N seconds.
- uid: list[str] | None¶
Remove specific sessions.