DeviceCodeResponse type

디바이스 코드 흐름에 필요한 정보를 포함하는 보안 토큰 서비스 디바이스 코드 엔드포인트에서 반환된 DeviceCode입니다.

  • userCode: 확인 URI에서 인증할 때 사용자가 제공해야 하는 코드
  • deviceCode: 액세스 토큰에 대한 요청에 포함해야 하는 코드
  • verificationUri: 사용자가 인증할 수 있는 URI
  • expiresIn: 디바이스 코드의 만료 시간(초)
  • interval: STS를 폴링해야 하는 간격
  • message: 사용자에게 표시해야 하는 메시지
type DeviceCodeResponse = {
  deviceCode: string
  expiresIn: number
  interval: number
  message: string
  userCode: string
  verificationUri: string
}