Interface OAuth2DeviceUserCodeProvider

    • Method Detail

      • generate

        String generate()
        Generate a new user code for OAuth 2.0 Device Authorization Grant.
        Returns:
        Return a generated user code
      • display

        String display​(String userCode)
        Get human-readability user code from original user code.
        Parameters:
        userCode - Original user code
        Returns:
        Return a human-readability user code
      • format

        String format​(String userCode)
        Format inputted user code.
        Parameters:
        userCode - Inputted user code.
        Returns: