001package com.nimbusds.openid.connect.sdk;
002
003
004import java.net.URI;
005
006import com.nimbusds.oauth2.sdk.Response;
007import com.nimbusds.oauth2.sdk.id.State;
008
009
010/**
011 * OpenID Connect authentication response.
012 *
013 * <p>Related specifications:
014 *
015 * <ul>
016 *     <li>OpenID Connect Core 1.0, sections 3.1.2.5. and 3.1.2.6.
017 * </ul>
018 */
019public interface AuthenticationResponse extends Response {
020
021
022        /**
023         * Gets the base redirection URI.
024         *
025         * @return The base redirection URI (without the appended error
026         *         response parameters).
027         */
028        public URI getRedirectionURI();
029
030
031        /**
032         * Gets the optional state.
033         *
034         * @return The state, {@code null} if not requested.
035         */
036        public State getState();
037}