ApiSessionType aliases
Type Alias: KeyTerms
type KeyTerms =
| {
recordsOnly: boolean;
via: "popup";
}
| {
origin: string;
recordsOnly: boolean;
via: "code";
};Defined in: packages/core/src/session/connect.ts:273
What a key agrees to in a connect request: how it reached the home, how much it asks for, and, for a program's key handed over a code, the home it was handed to.
Union Members
Type Literal
{
recordsOnly: boolean;
via: "popup";
}An app's own key
Type Literal
{
origin: string;
recordsOnly: boolean;
via: "code";
}A program's key, handed to the home at origin over a connect code