Package org.keycloak.models
Interface OAuth2DeviceUserCodeProvider
- All Superinterfaces:
Provider
- All Known Implementing Classes:
DefaultOAuth2DeviceUserCodeProvider
- Author:
- Hiroyuki Wada
-
Method Summary
-
Method Details
-
generate
String generate()Generate a new user code for OAuth 2.0 Device Authorization Grant.- Returns:
- Return a generated user code
-
display
Get human-readability user code from original user code.- Parameters:
userCode
- Original user code- Returns:
- Return a human-readability user code
-
format
Format inputted user code.- Parameters:
userCode
- Inputted user code.- Returns:
-