Props for AccountCredentialsSection component.

interface AccountCredentialsSectionProps {
/** Current authentication state. */
authState: AuthState;
/** Whether an authentication operation is in progress. */
isLoading: boolean;
/** Whether custom OAuth credentials are active. */
isUsingCustomCredentials: boolean;
/** Custom OAuth client ID. */
clientId: string;
/** Custom OAuth client secret. */
clientSecret: string;
/** Custom OAuth redirect URI. */
redirectUri: string;
/** Status of default AniList credentials. */
defaultCredentialStatus: { hasCredentials: boolean; missing: string[] };
/** Status of custom credentials. */
customCredentialStatus: { isComplete: boolean; missing: string[] };
/** Callback to toggle custom credentials mode. */
onToggleCustomCredentials: (value: boolean) => void;
/** Callback when client ID is changed. */
onClientIdChange: (value: string) => void;
/** Callback when client secret is changed. */
onClientSecretChange: (value: string) => void;
/** Callback when redirect URI is changed. */
onRedirectUriChange: (value: string) => void;
}
interface AccountCredentialsSectionProps {
    authState: AuthState;
    isLoading: boolean;
    isUsingCustomCredentials: boolean;
    clientId: string;
    clientSecret: string;
    redirectUri: string;
    defaultCredentialStatus: { hasCredentials: boolean; missing: string[] };
    customCredentialStatus: { isComplete: boolean; missing: string[] };
    onToggleCustomCredentials: (value: boolean) => void;
    onClientIdChange: (value: string) => void;
    onClientSecretChange: (value: string) => void;
    onRedirectUriChange: (value: string) => void;
}

Properties

authState: AuthState

Current authentication state.

isLoading: boolean

Whether an authentication operation is in progress.

isUsingCustomCredentials: boolean

Whether custom OAuth credentials are active.

clientId: string

Custom OAuth client ID.

clientSecret: string

Custom OAuth client secret.

redirectUri: string

Custom OAuth redirect URI.

defaultCredentialStatus: { hasCredentials: boolean; missing: string[] }

Status of default AniList credentials.

customCredentialStatus: { isComplete: boolean; missing: string[] }

Status of custom credentials.

onToggleCustomCredentials: (value: boolean) => void

Callback to toggle custom credentials mode.

onClientIdChange: (value: string) => void

Callback when client ID is changed.

onClientSecretChange: (value: string) => void

Callback when client secret is changed.

onRedirectUriChange: (value: string) => void

Callback when redirect URI is changed.