001/*
002 * oauth2-oidc-sdk
003 *
004 * Copyright 2012-2021, Connect2id Ltd and contributors.
005 *
006 * Licensed under the Apache License, Version 2.0 (the "License"); you may not use
007 * this file except in compliance with the License. You may obtain a copy of the
008 * License at
009 *
010 *    http://www.apache.org/licenses/LICENSE-2.0
011 *
012 * Unless required by applicable law or agreed to in writing, software distributed
013 * under the License is distributed on an "AS IS" BASIS, WITHOUT WARRANTIES OR
014 * CONDITIONS OF ANY KIND, either express or implied. See the License for the
015 * specific language governing permissions and limitations under the License.
016 */
017
018package com.nimbusds.openid.connect.sdk.op;
019
020
021import java.net.URI;
022
023import com.nimbusds.oauth2.sdk.as.ReadOnlyAuthorizationServerEndpointMetadata;
024
025
026/**
027 * Read-only OpenID Provider (OP) endpoint metadata.
028 *
029 * <p>Related specifications:
030 *
031 * <ul>
032 *     <li>OAuth 2.0 Authorization Server Metadata (RFC 8414)
033 *     <li>OAuth 2.0 Mutual TLS Client Authentication and Certificate Bound
034 *         Access Tokens (RFC 8705)
035 *     <li>OAuth 2.0 Device Authorization Grant (RFC 8628)
036 *     <li>OpenID Connect Discovery 1.0
037 *     <li>OpenID Connect Session Management 1.0
038 *     <li>OpenID Connect Front-Channel Logout 1.0
039 *     <li>OpenID Connect Back-Channel Logout 1.0
040 * </ul>
041 */
042public interface ReadOnlyOIDCProviderEndpointMetadata extends ReadOnlyAuthorizationServerEndpointMetadata {
043        
044        
045        /**
046         * Gets the UserInfo endpoint URI. Corresponds the
047         * {@code userinfo_endpoint} metadata field.
048         *
049         * @return The UserInfo endpoint URI, {@code null} if not specified.
050         */
051        URI getUserInfoEndpointURI();
052        
053        
054        /**
055         * Gets the cross-origin check session iframe URI. Corresponds to the
056         * {@code check_session_iframe} metadata field.
057         *
058         * @return The check session iframe URI, {@code null} if not specified.
059         */
060        URI getCheckSessionIframeURI();
061        
062        
063        /**
064         * Gets the logout endpoint URI. Corresponds to the
065         * {@code end_session_endpoint} metadata field.
066         *
067         * @return The logoout endpoint URI, {@code null} if not specified.
068         */
069        URI getEndSessionEndpointURI();
070}