Class JwtConfig

java.lang.Object
io.objectbox.flatbuffers.Table
io.objectbox.sync.server.JwtConfig

public final class JwtConfig extends Table
  • Constructor Details

    • JwtConfig

      public JwtConfig()
  • Method Details

    • ValidateVersion

      public static void ValidateVersion()
    • getRootAsJwtConfig

      public static JwtConfig getRootAsJwtConfig(ByteBuffer _bb)
    • getRootAsJwtConfig

      public static JwtConfig getRootAsJwtConfig(ByteBuffer _bb, JwtConfig obj)
    • __init

      public void __init(int _i, ByteBuffer _bb)
    • __assign

      public JwtConfig __assign(int _i, ByteBuffer _bb)
    • publicKeyUrl

      public String publicKeyUrl()
      URL to fetch the current public key used to verify JWT signatures.
    • publicKeyUrlAsByteBuffer

      public ByteBuffer publicKeyUrlAsByteBuffer()
    • publicKeyUrlInByteBuffer

      public ByteBuffer publicKeyUrlInByteBuffer(ByteBuffer _bb)
    • publicKey

      public String publicKey()
      Fixed public key used to sign JWT tokens; e.g. for development purposes. Supply either publicKey or publicKeyUrl, but not both.
    • publicKeyAsByteBuffer

      public ByteBuffer publicKeyAsByteBuffer()
    • publicKeyInByteBuffer

      public ByteBuffer publicKeyInByteBuffer(ByteBuffer _bb)
    • publicKeyCacheExpirationSeconds

      public long publicKeyCacheExpirationSeconds()
      Cache expiration time in seconds for the public key(s) fetched from publicKeyUrl. If absent or zero, the default is used.
    • claimAud

      public String claimAud()
      JWT claim "aud" (audience) used to verify JWT tokens.
    • claimAudAsByteBuffer

      public ByteBuffer claimAudAsByteBuffer()
    • claimAudInByteBuffer

      public ByteBuffer claimAudInByteBuffer(ByteBuffer _bb)
    • claimIss

      public String claimIss()
      JWT claim "iss" (issuer) used to verify JWT tokens.
    • claimIssAsByteBuffer

      public ByteBuffer claimIssAsByteBuffer()
    • claimIssInByteBuffer

      public ByteBuffer claimIssInByteBuffer(ByteBuffer _bb)
    • createJwtConfig

      public static int createJwtConfig(FlatBufferBuilder builder, int publicKeyUrlOffset, int publicKeyOffset, long publicKeyCacheExpirationSeconds, int claimAudOffset, int claimIssOffset)
    • startJwtConfig

      public static void startJwtConfig(FlatBufferBuilder builder)
    • addPublicKeyUrl

      public static void addPublicKeyUrl(FlatBufferBuilder builder, int publicKeyUrlOffset)
    • addPublicKey

      public static void addPublicKey(FlatBufferBuilder builder, int publicKeyOffset)
    • addPublicKeyCacheExpirationSeconds

      public static void addPublicKeyCacheExpirationSeconds(FlatBufferBuilder builder, long publicKeyCacheExpirationSeconds)
    • addClaimAud

      public static void addClaimAud(FlatBufferBuilder builder, int claimAudOffset)
    • addClaimIss

      public static void addClaimIss(FlatBufferBuilder builder, int claimIssOffset)
    • endJwtConfig

      public static int endJwtConfig(FlatBufferBuilder builder)