Interface JwtClaimOrBuilder
- All Superinterfaces:
com.google.protobuf.MessageLiteOrBuilder, com.google.protobuf.MessageOrBuilder
- All Known Implementing Classes:
JwtClaim, JwtClaim.Builder
public interface JwtClaimOrBuilder
extends com.google.protobuf.MessageOrBuilder
-
Method Summary
Modifier and TypeMethodDescriptiongetEntitlements(int index) 权限com.google.protobuf.ByteStringgetEntitlementsBytes(int index) 权限int权限权限longgetExi()令牌有效时长getGroups(int index) 用户组com.google.protobuf.ByteStringgetGroupsBytes(int index) 用户组int用户组用户组昵称com.google.protobuf.ByteString昵称用户名com.google.protobuf.ByteString用户名getRoles(int index) 角色com.google.protobuf.ByteStringgetRolesBytes(int index) 角色int角色角色getSub()用户IDcom.google.protobuf.ByteString用户IDbooleanhasExi()令牌有效时长Methods inherited from interface com.google.protobuf.MessageLiteOrBuilder
isInitializedMethods inherited from interface com.google.protobuf.MessageOrBuilder
findInitializationErrors, getAllFields, getDefaultInstanceForType, getDescriptorForType, getField, getInitializationErrorString, getOneofFieldDescriptor, getRepeatedField, getRepeatedFieldCount, getUnknownFields, hasField, hasOneof
-
Method Details
-
getSub
-
getSubBytes
com.google.protobuf.ByteString getSubBytes()用户ID
string sub = 1;- Returns:
- The bytes for sub.
-
getPreferredUsername
-
getPreferredUsernameBytes
com.google.protobuf.ByteString getPreferredUsernameBytes()用户名
string preferred_username = 2;- Returns:
- The bytes for preferredUsername.
-
getNickname
-
getNicknameBytes
com.google.protobuf.ByteString getNicknameBytes()昵称
string nickname = 3;- Returns:
- The bytes for nickname.
-
getRolesList
-
getRolesCount
int getRolesCount()角色
repeated string roles = 4;- Returns:
- The count of roles.
-
getRoles
角色
repeated string roles = 4;- Parameters:
index- The index of the element to return.- Returns:
- The roles at the given index.
-
getRolesBytes
com.google.protobuf.ByteString getRolesBytes(int index) 角色
repeated string roles = 4;- Parameters:
index- The index of the value to return.- Returns:
- The bytes of the roles at the given index.
-
getEntitlementsList
-
getEntitlementsCount
int getEntitlementsCount()权限
repeated string entitlements = 5;- Returns:
- The count of entitlements.
-
getEntitlements
权限
repeated string entitlements = 5;- Parameters:
index- The index of the element to return.- Returns:
- The entitlements at the given index.
-
getEntitlementsBytes
com.google.protobuf.ByteString getEntitlementsBytes(int index) 权限
repeated string entitlements = 5;- Parameters:
index- The index of the value to return.- Returns:
- The bytes of the entitlements at the given index.
-
getGroupsList
-
getGroupsCount
int getGroupsCount()用户组
repeated string groups = 6;- Returns:
- The count of groups.
-
getGroups
用户组
repeated string groups = 6;- Parameters:
index- The index of the element to return.- Returns:
- The groups at the given index.
-
getGroupsBytes
com.google.protobuf.ByteString getGroupsBytes(int index) 用户组
repeated string groups = 6;- Parameters:
index- The index of the value to return.- Returns:
- The bytes of the groups at the given index.
-
hasExi
boolean hasExi()令牌有效时长
optional int64 exi = 7;- Returns:
- Whether the exi field is set.
-
getExi
long getExi()令牌有效时长
optional int64 exi = 7;- Returns:
- The exi.
-