Session list
Generated reference for ovok_flutter: session list.
- Stable unknown
- Release candidate since 0.1.0-rc.4
- Development since 0.1.0-dev.25+148a28a
SessionList
class SessionList extends StatefulWidgetLists active sessions and revokes the other sessions on request.
Constructors
SessionList.new
SessionList({
required Ovok ovok,
AuthTranslations translations = defaultAuthTranslations,
void Function(Object)? onError,
Key? key,
})Creates a session list backed by ovok.
| Parameter | Type | Kind | Default |
|---|---|---|---|
ovok | Ovok | required named | |
translations | AuthTranslations | named | defaultAuthTranslations |
onError | void Function(Object)? | named | |
key | Key? | named |
Properties
SessionList.ovok
final Ovok ovokThe client used to list and revoke sessions.
SessionList.translations
final AuthTranslations translationsLabels to use for this list.
SessionList.onError
final void Function(Object)? onErrorCalled when listing or revoking sessions fails.
Last updated on