tauri-plugin-plauth-api
Version:
Tauri plugin for authentication (PLAUTH) supporting macOS and iOS platforms with ASWebAuthenticationSession
18 lines (17 loc) • 443 B
TypeScript
export interface PingRequest {
value?: string;
}
export interface PingResponse {
value?: string;
}
export interface AuthRequest {
url: string;
callbackUrlScheme: string;
}
export interface AuthResponse {
success: boolean;
callbackUrl?: string;
error?: string;
}
export declare function ping(value?: string): Promise<string | null>;
export declare function authenticate(request: AuthRequest): Promise<AuthResponse>;