getAuthCookies method
Get authentication-related cookies commonly used by Better Auth Returns session, token, and other auth-related cookies
Implementation
Future<Map<String, String?>> getAuthCookies() async {
final authCookieNames = [
'better-auth.session_token',
'better-auth.csrf_token',
'session',
'token',
'auth-token',
'access_token',
'refresh_token',
];
return getCookiesByNames(authCookieNames);
}