Skip to content
Docs
Reference

Interface: ClientStepInput

Interface: ClientStepInput in @ticketlayer/backstage.

@ticketlayer/backstage


@ticketlayer/backstage / ClientStepInput

Defined in: auth/index.ts:143

The client half every start step takes: who is asking, their PKCE challenge, and where the code goes.

Extended by#

Properties#

clientId?#

optional clientId: string;

Defined in: auth/index.ts:145

Defaults to AuthConfig.clientId. A first-party client only.


codeChallenge#

codeChallenge: string;

Defined in: auth/index.ts:147

The S256 challenge from pkce().


dpop?#

optional dpop: Pick<DpopKey, "thumbprint">;

Defined in: auth/index.ts:149

Bind the code (and the tokens) to this key, as for start.


redirectUri?#

optional redirectUri: string;

Defined in: auth/index.ts:151

A redirect URI registered for the client. Defaults to the client's first.


scope?#

optional scope: string;

Defined in: auth/index.ts:153

Space-separated scopes. Defaults to openid profile email organisations.