Interface OAuth2DeviceUserCodeProvider

All Superinterfaces:
Provider
All Known Implementing Classes:
DefaultOAuth2DeviceUserCodeProvider

public interface OAuth2DeviceUserCodeProvider extends Provider
Author:
Hiroyuki Wada
  • Method Summary

    Modifier and Type
    Method
    Description
    display(String userCode)
    Get human-readability user code from original user code.
    format(String userCode)
    Format inputted user code.
    Generate a new user code for OAuth 2.0 Device Authorization Grant.

    Methods inherited from interface org.keycloak.provider.Provider

    close
  • Method Details

    • 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: