public class OAuth2DeviceUserCodeModel extends Object
Constructor and Description |
---|
OAuth2DeviceUserCodeModel(RealmModel realm,
String deviceCode,
String userCode) |
Modifier and Type | Method and Description |
---|---|
static String |
createKey(RealmModel realm,
String userCode) |
static OAuth2DeviceUserCodeModel |
fromCache(RealmModel realm,
String userCode,
Map<String,String> data) |
String |
getDeviceCode() |
String |
getUserCode() |
String |
serializeKey() |
Map<String,String> |
serializeValue() |
public OAuth2DeviceUserCodeModel(RealmModel realm, String deviceCode, String userCode)
public static OAuth2DeviceUserCodeModel fromCache(RealmModel realm, String userCode, Map<String,String> data)
public String getDeviceCode()
public String getUserCode()
public static String createKey(RealmModel realm, String userCode)
public String serializeKey()
Copyright © 2021 JBoss by Red Hat. All rights reserved.