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 Details

    • getSubject

      String getSubject()
       用户ID
       
      string subject = 1;
      Returns:
      The subject.
    • getSubjectBytes

      com.google.protobuf.ByteString getSubjectBytes()
       用户ID
       
      string subject = 1;
      Returns:
      The bytes for subject.
    • getPreferredUsername

      String getPreferredUsername()
       用户名
       
      string preferred_username = 2;
      Returns:
      The preferredUsername.
    • getPreferredUsernameBytes

      com.google.protobuf.ByteString getPreferredUsernameBytes()
       用户名
       
      string preferred_username = 2;
      Returns:
      The bytes for preferredUsername.
    • getNickname

      String getNickname()
       昵称
       
      string nickname = 3;
      Returns:
      The nickname.
    • getNicknameBytes

      com.google.protobuf.ByteString getNicknameBytes()
       昵称
       
      string nickname = 3;
      Returns:
      The bytes for nickname.
    • getRolesList

      List<String> getRolesList()
       角色
       
      repeated string roles = 4;
      Returns:
      A list containing the roles.
    • getRolesCount

      int getRolesCount()
       角色
       
      repeated string roles = 4;
      Returns:
      The count of roles.
    • getRoles

      String getRoles(int index)
       角色
       
      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

      List<String> getEntitlementsList()
       权限
       
      repeated string entitlements = 5;
      Returns:
      A list containing the entitlements.
    • getEntitlementsCount

      int getEntitlementsCount()
       权限
       
      repeated string entitlements = 5;
      Returns:
      The count of entitlements.
    • getEntitlements

      String getEntitlements(int index)
       权限
       
      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

      List<String> getGroupsList()
       用户组
       
      repeated string groups = 6;
      Returns:
      A list containing the groups.
    • getGroupsCount

      int getGroupsCount()
       用户组
       
      repeated string groups = 6;
      Returns:
      The count of groups.
    • getGroups

      String getGroups(int index)
       用户组
       
      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.