Interface: AuthSuccess
Defined in: composables/vue/useAuth.ts:41
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?
optionalaccessToken?:string
Defined in: composables/vue/useAuth.ts:43
expiresAt?
optionalexpiresAt?:string
Defined in: composables/vue/useAuth.ts:45
refreshToken?
optionalrefreshToken?:string
Defined in: composables/vue/useAuth.ts:44
user?
optionaluser?:Contact|Customer
Defined in: composables/vue/useAuth.ts:42