getSessions

Get a list of sessions.

Parameters

scopes

An optional list of scopes. If provided, the sessions returned should match these permissions, otherwise all sessions should be returned.

options

Additional options for getting sessions.