Class IssuerResponse

java.lang.Object
ai.vectros.types.IssuerResponse

public final class IssuerResponse extends Object
  • Method Details

    • getIssuerId

      public Optional<String> getIssuerId()
      Returns:
      This issuer's slug within your tenant.
    • getIssuer

      public Optional<String> getIssuer()
      Returns:
      The IdP's iss claim value.
    • getJwksUri

      public Optional<String> getJwksUri()
      Returns:
      The IdP's remote JWKS endpoint.
    • getAudience

      public Optional<String> getAudience()
      Returns:
      The required aud claim value.
    • getContextId

      public Optional<String> getContextId()
      Returns:
      The app context an exchanged token targets.
    • getSubClaim

      public Optional<String> getSubClaim()
      Returns:
      The subject-identifier claim.
    • getEmailClaim

      public Optional<String> getEmailClaim()
      Returns:
      The subject-email claim.
    • getUserinfoUri

      public Optional<String> getUserinfoUri()
      Returns:
      The IdP's OIDC userinfo endpoint, used as a fallback email-resolution source. Absent when not configured.
    • getStatus

      public Optional<String> getStatus()
      Returns:
      active or suspended. A suspended issuer is registered but its tokens are no longer accepted for exchange.
    • getCreatedAt

      public Optional<String> getCreatedAt()
      Returns:
      Timestamp when the issuer was registered, as an ISO-8601 UTC timestamp.
    • getCreated

      public Optional<Boolean> getCreated()
      Returns:
      true if this call registered a new issuer, false if issuerId already existed in your tenant and the existing registration was returned unchanged. Only present on the create response (POST /v1/auth/issuers); absent on reads. The HTTP status mirrors it — 201 when created, 200 when an existing registration was returned.
    • getSelfSignupPolicies

      public Optional<List<SelfSignupPolicy>> getSelfSignupPolicies()
      Returns:
      Configured self-service signup policies, if any. Absent (not an empty list) when self-signup is not configured for this issuer.
    • equals

      public boolean equals(Object other)
      Overrides:
      equals in class Object
    • getAdditionalProperties

      public Map<String,Object> getAdditionalProperties()
    • hashCode

      public int hashCode()
      Overrides:
      hashCode in class Object
    • toString

      public String toString()
      Overrides:
      toString in class Object
    • builder

      public static IssuerResponse.Builder builder()