@edgible-team/sdk
    Preparing search index...

    Type Alias CredentialInput

    CredentialInput:
        | { email: string; password: string; type: "password" }
        | { keyId: string; secret: string; type: "serviceAccount" }
        | { accessToken: string; refreshToken?: string; type: "token" }

    Credential abstractions (docs/auth-and-credentials.md, D7/D8). Service accounts are stubbed until the backend entity lands (D7).

    Type Declaration

    • { email: string; password: string; type: "password" }
    • { keyId: string; secret: string; type: "serviceAccount" }

      Backend support pending (D7) — resolves to a stub that throws.

    • { accessToken: string; refreshToken?: string; type: "token" }

      A pre-obtained bearer token. Note: the platform's bearer token is the Cognito idToken; whatever string is supplied here is attached verbatim.