diff --git a/packages/ra-core/src/types.ts b/packages/ra-core/src/types.ts index c484cb33674..11651e8eaaf 100644 --- a/packages/ra-core/src/types.ts +++ b/packages/ra-core/src/types.ts @@ -68,8 +68,8 @@ export interface UserIdentity { export type AuthProvider = { login: (params: any) => Promise; logout: (params: any) => Promise; - checkAuth: (params: any) => Promise; - checkError: (error: any) => Promise; + checkAuth: (params: any) => Promise; + checkError: (error: any) => Promise; getPermissions: (params: any) => Promise; getIdentity?: () => Promise; [key: string]: any;