Skip to content

ActivityPlug API / @activityplug/core / StoredAuthSession

Interface: StoredAuthSession

Defined in: packages/core/src/auth/types.ts:54

Extends

Properties

account?

readonly optional account?: EntityRef<"account">

Defined in: packages/core/src/auth/types.ts:41

Inherited from

AuthSession.account


adapter

readonly adapter: string & object | AdapterKind

Defined in: packages/core/src/auth/types.ts:38

Inherited from

AuthSession.adapter


capabilities

readonly capabilities: AuthCapabilitySet

Defined in: packages/core/src/auth/types.ts:43

Inherited from

AuthSession.capabilities


createdAt

readonly createdAt: string

Defined in: packages/core/src/auth/types.ts:57


expiresAt?

readonly optional expiresAt?: string

Defined in: packages/core/src/auth/types.ts:44

Inherited from

AuthSession.expiresAt


id

readonly id: string

Defined in: packages/core/src/auth/types.ts:37

Inherited from

AuthSession.id


metadata?

readonly optional metadata?: Readonly<Record<string, unknown>>

Defined in: packages/core/src/auth/types.ts:61


origin

readonly origin: string

Defined in: packages/core/src/auth/types.ts:39

Inherited from

AuthSession.origin


owner?

readonly optional owner?: AuthSessionOwner

Defined in: packages/core/src/auth/types.ts:60


revision

readonly revision: number

Defined in: packages/core/src/auth/types.ts:55


scopes

readonly scopes: readonly string[]

Defined in: packages/core/src/auth/types.ts:42

Inherited from

AuthSession.scopes


storageExpiresAt?

readonly optional storageExpiresAt?: string

Defined in: packages/core/src/auth/types.ts:59


strategy

readonly strategy: AuthStrategyKind

Defined in: packages/core/src/auth/types.ts:40

Inherited from

AuthSession.strategy


tokenSet

readonly tokenSet: TokenSet

Defined in: packages/core/src/auth/types.ts:56


updatedAt

readonly updatedAt: string

Defined in: packages/core/src/auth/types.ts:58