All Downloads are FREE. Search and download functionalities are using the official Maven repository.

com.inrupt.client.openid.Metadata Maven / Gradle / Ivy

There is a newer version: 1.3.0
Show newest version
/*
 * Copyright Inrupt Inc.
 *
 * Permission is hereby granted, free of charge, to any person obtaining a copy
 * of this software and associated documentation files (the "Software"), to deal in
 * the Software without restriction, including without limitation the rights to use,
 * copy, modify, merge, publish, distribute, sublicense, and/or sell copies of the
 * Software, and to permit persons to whom the Software is furnished to do so,
 * subject to the following conditions:
 *
 * The above copyright notice and this permission notice shall be included in
 * all copies or substantial portions of the Software.
 *
 * THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR IMPLIED,
 * INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY, FITNESS FOR A
 * PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE AUTHORS OR COPYRIGHT
 * HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER LIABILITY, WHETHER IN AN ACTION
 * OF CONTRACT, TORT OR OTHERWISE, ARISING FROM, OUT OF OR IN CONNECTION WITH THE
 * SOFTWARE OR THE USE OR OTHER DEALINGS IN THE SOFTWARE.
 */
package com.inrupt.client.openid;

import java.net.URI;
import java.util.List;

/**
 * A data structure representing an Open ID Connect discovery document.
 */
public class Metadata {

    /**
     * The issuer URI for the given OpenID Connect provider.
     */
    public URI issuer;

    /**
     * A list of scopes supported by the given OpenID Connect provider.
     */
    public List scopesSupported;

    /**
     * A list of response types supported by the given OpenID Connect provider.
     */
    public List responseTypesSupported;

    /**
     * A list of grant types supported by the given OpenID Connect provider.
     */
    public List grantTypesSupported;

    /**
     * The location of the end session endpoint for the given OpenID Connect provider, if supported.
     */
    public URI endSessionEndpoint;

    /**
     * The location of the authorization endpoint for the given OpenID Connect provider.
     */
    public URI authorizationEndpoint;

    /**
     * The location of the token endpoint for the given OpenID Connect provider.
     */
    public URI tokenEndpoint;

    /**
     * A list of authentication methods supported by the token endpoint of the given OpenID Connect provider.
     */
    public List tokenEndpointAuthMethodsSupported;

    /**
     * The location of the userinfo endpoint for the given OpenID Connect provider.
     */
    public URI userinfoEndpoint;

    /**
     * A list of claims supported by the given OpenID Connect provider.
     */
    public List claimsSupported;

    /**
     * A list of subject types supported by the given OpenID Connect provider.
     */
    public List subjectTypesSupported;

    /**
     * A list of code challenge methods supported by the given OpentID Connect provider.
     */
    public List codeChallengeMethodsSupported;

    /**
     * The location of the JSON Web Key Set endpoint for the given OpenID Connect provider.
     */
    public URI jwksUri;

    /**
     * The registration endpoint for the given OpenID Connect provider.
     */
    public URI registrationEndpoint;

    /**
     * The revocation endpoint for the given OpenID Connect provider.
     */
    public URI revocationEndpoint;

    /**
     * A list of ID Token signing algorithm values supported by the given OpenID Connect provider.
     */
    public List idTokenSigningAlgValuesSupported;

    /**
     * A list of DPoP signing algorithm values supported by the given OpenID Connect provider.
     */
    public List dpopSigningAlgValuesSupported;

    /**
     * Indication of whether the OpenID Connect provider supports RFC-9207.
     */
    public boolean authorizationResponseIssParameterSupported;
}




© 2015 - 2025 Weber Informatics LLC | Privacy Policy