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 StatefulWidget

Lists 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.

ParameterTypeKindDefault
ovokOvokrequired named
translationsAuthTranslationsnameddefaultAuthTranslations
onErrorvoid Function(Object)?named
keyKey?named

Properties

SessionList.ovok

final Ovok ovok

The client used to list and revoke sessions.

SessionList.translations

final AuthTranslations translations

Labels to use for this list.

SessionList.onError

final void Function(Object)? onError

Called when listing or revoking sessions fails.

Last updated on

On this page