Flutter 基于flatter-httpOnly cookie的身份验证
我正在使用flatter_graphql,他们有很好的文档说明如何处理AuthLink,但它不适合所有类型的身份验证方法。Flutter 基于flatter-httpOnly cookie的身份验证,flutter,dart,graphql,flutter-graphql,Flutter,Dart,Graphql,Flutter Graphql,我正在使用flatter_graphql,他们有很好的文档说明如何处理AuthLink,但它不适合所有类型的身份验证方法。 例如,当使用存储httpPnly cookie的api时,cookie不会被存储,甚至不会随每个请求一起发送回 在阿波罗号上,问题就这样解决了: const link = createHttpLink({ uri: '/graphql', credentials: 'include' }); const client = new ApolloClient({
例如,当使用存储httpPnly cookie的api时,cookie不会被存储,甚至不会随每个请求一起发送回 在阿波罗号上,问题就这样解决了:
const link = createHttpLink({
uri: '/graphql',
credentials: 'include'
});
const client = new ApolloClient({
cache: new InMemoryCache(),
link,
});
但我在颤振图中找不到一个等价物