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