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

    • getSub

      String getSub()
      用户ID
      
      string sub = 1;
      Returns:
      The sub.
    • getSubBytes

      com.google.protobuf.ByteString getSubBytes()
      用户ID
      
      string sub = 1;
      Returns:
      The bytes for sub.
    • 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.
    • hasExi

      boolean hasExi()
      令牌有效时长
      
      optional int64 exi = 7;
      Returns:
      Whether the exi field is set.
    • getExi

      long getExi()
      令牌有效时长
      
      optional int64 exi = 7;
      Returns:
      The exi.