Skip to main content

Interface: AuthSuccess

Defined in: composables/vue/useAuth.ts:43

Success payload for login / registerContact / registerCustomer.

user + tokens are optional: the autoLogin: false branches of the register flows complete server-side but deliberately drop the session, yielding an ok({}).

Properties​

accessToken?​

optional accessToken?: string

Defined in: composables/vue/useAuth.ts:45


expiresAt?​

optional expiresAt?: string

Defined in: composables/vue/useAuth.ts:47


refreshToken?​

optional refreshToken?: string

Defined in: composables/vue/useAuth.ts:46


user?​

optional user?: Contact | Customer

Defined in: composables/vue/useAuth.ts:44