Class StartDeviceAuthorizationResponse

    • Method Detail

      • deviceCode

        public final String deviceCode()

        The short-lived code that is used by the device when polling for a session token.

        Returns:
        The short-lived code that is used by the device when polling for a session token.
      • userCode

        public final String userCode()

        A one-time user verification code. This is needed to authorize an in-use device.

        Returns:
        A one-time user verification code. This is needed to authorize an in-use device.
      • verificationUri

        public final String verificationUri()

        The URI of the verification page that takes the userCode to authorize the device.

        Returns:
        The URI of the verification page that takes the userCode to authorize the device.
      • verificationUriComplete

        public final String verificationUriComplete()

        An alternate URL that the client can use to automatically launch a browser. This process skips the manual step in which the user visits the verification page and enters their code.

        Returns:
        An alternate URL that the client can use to automatically launch a browser. This process skips the manual step in which the user visits the verification page and enters their code.
      • expiresIn

        public final Integer expiresIn()

        Indicates the number of seconds in which the verification code will become invalid.

        Returns:
        Indicates the number of seconds in which the verification code will become invalid.
      • interval

        public final Integer interval()

        Indicates the number of seconds the client must wait between attempts when polling for a session.

        Returns:
        Indicates the number of seconds the client must wait between attempts when polling for a session.
      • toString

        public final String toString()
        Returns a string representation of this object. This is useful for testing and debugging. Sensitive data will be redacted from this string using a placeholder value.
        Overrides:
        toString in class Object