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

org.seedstack.oauth.internal.DiscoveryDocument Maven / Gradle / Ivy

There is a newer version: 3.3.0
Show newest version
/*
 * Copyright © 2013-2018, The SeedStack authors 
 *
 * This Source Code Form is subject to the terms of the Mozilla Public
 * License, v. 2.0. If a copy of the MPL was not distributed with this
 * file, You can obtain one at http://mozilla.org/MPL/2.0/.
 */

package org.seedstack.oauth.internal;

import com.fasterxml.jackson.annotation.JsonIgnoreProperties;
import com.fasterxml.jackson.annotation.JsonProperty;
import java.net.URI;
import java.util.List;

@JsonIgnoreProperties(ignoreUnknown = true)
class DiscoveryDocument {
    private URI issuer;
    @JsonProperty("authorization_endpoint")
    private URI authorizationEndpoint;
    @JsonProperty("token_endpoint")
    private URI tokenEndpoint;
    @JsonProperty("userinfo_endpoint")
    private URI userinfoEndpoint;
    @JsonProperty("jwks_uri")
    private URI jwksUri;
    @JsonProperty("registration_endpoint")
    private URI registrationEndpoint;
    @JsonProperty("scopes_supported")
    private List scopesSupported;
    @JsonProperty("response_types_supported")
    private List responseTypesSupported;
    @JsonProperty("subject_types_supported")
    private List subjectTypesSupported;
    @JsonProperty("id_token_signing_alg_values_supported")
    private List idTokenSigningAlgValuesSupported;
    @JsonProperty("claims_supported")
    private List claimsSupported;
    @JsonProperty("revocation_endpoint")
    private URI revocationEndpoint;

    public URI getIssuer() {
        return issuer;
    }

    public void setIssuer(URI issuer) {
        this.issuer = issuer;
    }

    public URI getAuthorizationEndpoint() {
        return authorizationEndpoint;
    }

    public void setAuthorizationEndpoint(URI authorizationEndpoint) {
        this.authorizationEndpoint = authorizationEndpoint;
    }

    public URI getTokenEndpoint() {
        return tokenEndpoint;
    }

    public void setTokenEndpoint(URI tokenEndpoint) {
        this.tokenEndpoint = tokenEndpoint;
    }

    public URI getUserinfoEndpoint() {
        return userinfoEndpoint;
    }

    public void setUserinfoEndpoint(URI userinfoEndpoint) {
        this.userinfoEndpoint = userinfoEndpoint;
    }

    public URI getJwksUri() {
        return jwksUri;
    }

    public void setJwksUri(URI jwksUri) {
        this.jwksUri = jwksUri;
    }

    public URI getRegistrationEndpoint() {
        return registrationEndpoint;
    }

    public void setRegistrationEndpoint(URI registrationEndpoint) {
        this.registrationEndpoint = registrationEndpoint;
    }

    public List getScopesSupported() {
        return scopesSupported;
    }

    public void setScopesSupported(List scopesSupported) {
        this.scopesSupported = scopesSupported;
    }

    public List getResponseTypesSupported() {
        return responseTypesSupported;
    }

    public void setResponseTypesSupported(List responseTypesSupported) {
        this.responseTypesSupported = responseTypesSupported;
    }

    public List getSubjectTypesSupported() {
        return subjectTypesSupported;
    }

    public void setSubjectTypesSupported(List subjectTypesSupported) {
        this.subjectTypesSupported = subjectTypesSupported;
    }

    public List getIdTokenSigningAlgValuesSupported() {
        return idTokenSigningAlgValuesSupported;
    }

    public void setIdTokenSigningAlgValuesSupported(List idTokenSigningAlgValuesSupported) {
        this.idTokenSigningAlgValuesSupported = idTokenSigningAlgValuesSupported;
    }

    public List getClaimsSupported() {
        return claimsSupported;
    }

    public void setClaimsSupported(List claimsSupported) {
        this.claimsSupported = claimsSupported;
    }

    public URI getRevocationEndpoint() {
        return revocationEndpoint;
    }

    public void setRevocationEndpoint(URI revocationEndpoint) {
        this.revocationEndpoint = revocationEndpoint;
    }
}




© 2015 - 2024 Weber Informatics LLC | Privacy Policy