export type OAuthProvider = "google" | "apple";
export interface UseOAuthProps {
onSuccess?: (success: boolean) => void;
onError?: (error: string) => void;
}
export interface OAuthConfig {
discovery: {
authorizationEndpoint: string;
tokenEndpoint: string;
revocationEndpoint: string;
};
scopes: string[];
}
export interface ClientIdConfig {
ios?: string;
android?: string;
web?: string;
}
export interface OAuthProviderConfig {
clientIds: ClientIdConfig;
config: OAuthConfig;
}