New: Kith open-sources its ATS.Read why
Skip to Content
Objects

CliLoginRequest

A request from a command-line tool to be given a key, waiting for a signed-in person to approve it.

type CliLoginRequest {
  deviceLabel: String!
  expiresAt: DateTime!
  isApproved: Boolean!
  kind: CliLoginKind!
}

Fields

CliLoginRequest.deviceLabel · String! non-null scalar

The name the tool gave for the machine it runs on. Show it so the person can check it is theirs.

CliLoginRequest.expiresAt · DateTime! non-null scalar

When the request stops being approvable. A request past this moment is still returned until it is cleared away.

CliLoginRequest.isApproved · Boolean! non-null scalar

True when it has already been approved. It cannot be approved twice.

CliLoginRequest.kind · CliLoginKind! non-null enum

What kind of key approving it will make.

Returned By

cliLoginRequest query