public class UserPrincipal extends Object
Modifier and Type | Field and Description |
---|---|
static String |
CLAIMS_REF_FIELD_KEY |
static String |
SCOPES_REF_FIELD_KEY |
static String |
USER_ID_STRING_FIELD_KEY |
static String |
USER_NAME_STRING_FIELD_KEY |
Constructor and Description |
---|
UserPrincipal(BMap<String,BValue> authContextStruct) |
Modifier and Type | Method and Description |
---|---|
Map<String,String> |
getClaims() |
static Map<String,String> |
getMapField(BValue bValue) |
String[] |
getScopes() |
static String[] |
getStringArrayField(BValue bValue) |
String |
getUserId() |
String |
getUsername() |
void |
setClaims(Map<String,String> claims) |
void |
setScopes(String[] scopes) |
void |
setUserId(String userId) |
void |
setUsername(String username) |
public static final String USER_ID_STRING_FIELD_KEY
public static final String USER_NAME_STRING_FIELD_KEY
public static final String CLAIMS_REF_FIELD_KEY
public static final String SCOPES_REF_FIELD_KEY
Copyright © 2018 WSO2. All rights reserved.