@dxos/app-toolkit - v0.16.0
    Preparing search index...

    Type Alias NativeOAuthRequest

    The client's InitiateOAuthFlowRequest, as the shell's initiate command takes it.

    type NativeOAuthRequest = {
        accessTokenId: string;
        authHeader?: string;
        edgeUrl: string;
        kind?: "user" | "app";
        loginHint?: string;
        provider: string;
        purpose?: "register" | "recovery";
        registerRecovery?: boolean;
        resource?: string;
        scopes: string[];
        spaceId: string;
    }
    Index

    Properties

    accessTokenId: string
    authHeader?: string

    The caller's EDGE presentation, so EDGE can associate the flow with the current identity.

    edgeUrl: string
    kind?: "user" | "app"

    app for a grant that acts as DXOS's registered app; absent for a user grant.

    loginHint?: string

    atproto handle or DID; atproto cannot resolve the user's auth server without it.

    provider: string
    purpose?: "register" | "recovery"

    Account recovery only — selects the flow and asks EDGE to write the recovery binding.

    registerRecovery?: boolean
    resource?: string

    The MCP server a provider: 'mcp' grant is for.

    scopes: string[]
    spaceId: string