Skip to content

@tripo3d/auth / TripoAuthOptions

Interface: TripoAuthOptions ​

Defined in: auth.ts:15

Properties ​

PropertyTypeDefined in
basePathstringauth.ts:16
deviceId?stringauth.ts:18
fetchApi?(input, init?) => Promise<Response>auth.ts:19
fetchToken?(fetcher) => Promise<string | undefined>auth.ts:21
getJourneyId?() => string | undefinedauth.ts:25
headers?Record<string, string>auth.ts:26
middleware?Middleware[]auth.ts:27
onError?(err) => voidauth.ts:29
onEvent?(name, params?) => voidauth.ts:32
useFedcmForButton?booleanauth.ts:34

基于 MIT 协议发布(内部使用)