Field Notes
Field Notes home
Docs
Playground
Preparing search index...
@fieldnotes/sync-server
AuthorityOptions
Interface AuthorityOptions
interface
AuthorityOptions
{
driver
:
AuthorityDriver
;
resolveIdentity
(
connection
:
Readonly
<
Pick
<
Connection
,
"id"
|
"room"
|
"userId"
|
"role"
|
"authContext"
|
"expiresAt"
,
>
,
>
,
)
:
AuthorityIdentity
;
resolveRoom
(
room
:
string
)
:
AuthorityRoomDefinition
|
null
;
}
Index
Properties
driver
Methods
resolve
Identity
resolve
Room
Properties
Readonly
driver
driver
:
AuthorityDriver
Methods
resolve
Identity
resolveIdentity
(
connection
:
Readonly
<
Pick
<
Connection
,
"id"
|
"room"
|
"userId"
|
"role"
|
"authContext"
|
"expiresAt"
,
>
,
>
,
)
:
AuthorityIdentity
Parameters
connection
:
Readonly
<
Pick
<
Connection
,
"id"
|
"room"
|
"userId"
|
"role"
|
"authContext"
|
"expiresAt"
,
>
,
>
Returns
AuthorityIdentity
resolve
Room
resolveRoom
(
room
:
string
)
:
AuthorityRoomDefinition
|
null
Parameters
room
:
string
Returns
AuthorityRoomDefinition
|
null
Settings
Member Visibility
Protected
Inherited
External
Theme
OS
Light
Dark
On This Page
Properties
driver
Methods
resolve
Identity
resolve
Room
Field Notes home
Docs
Playground
Field Notes
Loading...