ApiIssuer

com.google.api.server.spi.config

Annotation Type ApiIssuer



  • public @interface ApiIssuer
    Annotation to specify a JWT issuer configuration.
    • Optional Element Summary

      Optional Elements 
      Modifier and Type Optional Element and Description
      java.lang.String issuer
      The expected issuer (iss) value for JWT tokens generated by this issuer.
      java.lang.String jwksUri
      The location of the JSON web key set used to verify tokens generated by this issuer.
      java.lang.String name
      A JWT provider id.
    • Element Detail

      • name

        public abstract java.lang.String name
        A JWT provider id. This field is referenced by ApiIssuerAudience.
        Default:
        ""
      • issuer

        public abstract java.lang.String issuer
        The expected issuer (iss) value for JWT tokens generated by this issuer.
        Default:
        ""
      • jwksUri

        public abstract java.lang.String jwksUri
        The location of the JSON web key set used to verify tokens generated by this issuer.
        Default:
        ""