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

org.openid4java.discovery.xri.XriResolver Maven / Gradle / Ivy

The newest version!
package org.openid4java.discovery.xri;

import com.google.inject.ImplementedBy;

import org.openid4java.discovery.DiscoveryException;
import org.openid4java.discovery.XriIdentifier;
import org.openid4java.discovery.Identifier;

import java.util.List;

@ImplementedBy(XriDotNetProxyResolver.class)
public interface XriResolver
{
    /**
     * Performs OpenID discovery on the supplied XRI identifier.
     *
     * @param xri   The XRI identifier
     * @return      A list of DiscoveryInformation, ordered the discovered
     *              priority.
     * @throws DiscoveryException if discovery failed.
     */
    public List discover(XriIdentifier xri) throws DiscoveryException;

    XriIdentifier parseIdentifier(String identifier) throws DiscoveryException;
}




© 2015 - 2024 Weber Informatics LLC | Privacy Policy