public class UserPrincipal extends Object
| Modifier and Type | Field and Description |
|---|---|
static int |
CLAIMS_REF_FIELD_INDEX |
static int |
SCOPES_REF_FIELD_INDEX |
static int |
USER_ID_STRING_FIELD_INDEX |
static int |
USER_NAME_STRING_FIELD_INDEX |
| Constructor and Description |
|---|
UserPrincipal(BStruct 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 int USER_ID_STRING_FIELD_INDEX
public static final int USER_NAME_STRING_FIELD_INDEX
public static final int CLAIMS_REF_FIELD_INDEX
public static final int SCOPES_REF_FIELD_INDEX
public UserPrincipal(BStruct authContextStruct)
Copyright © 2018 WSO2. All rights reserved.