Edit

Share via


DeviceCodeRequest type

Parameters for Oauth2 device code flow.

type DeviceCodeRequest = Partial<
  Omit<
    CommonDeviceCodeRequest,
    | "scopes"
    | "deviceCodeCallback"
    | "resourceRequestMethod"
    | "resourceRequestUri"
    | "storeInCache"
  >
> & {
  deviceCodeCallback: (response: DeviceCodeResponse) => void
  scopes: string[]
}