gpt4 book ai didi

org.openid4java.discovery.yadis.YadisResult.getDiscoveredInformation()方法的使用及代码示例

转载 作者:知者 更新时间:2024-03-14 10:39:31 26 4
gpt4 key购买 nike

本文整理了Java中org.openid4java.discovery.yadis.YadisResult.getDiscoveredInformation()方法的一些代码示例,展示了YadisResult.getDiscoveredInformation()的具体用法。这些代码示例主要来源于Github/Stackoverflow/Maven等平台,是从一些精选项目中提取出来的代码,具有较强的参考意义,能在一定程度帮忙到你。YadisResult.getDiscoveredInformation()方法的具体详情如下:
包路径:org.openid4java.discovery.yadis.YadisResult
类名称:YadisResult
方法名:getDiscoveredInformation

YadisResult.getDiscoveredInformation介绍

暂无

代码示例

代码示例来源:origin: org.openid4java/openid4java-nodeps

/**
 * Performs Relyin Party discovery on the supplied URL.
 *
 * @param url   RP's realm or return_to URL
 * @return      List of DiscoveryInformation entries discovered
 *              from the RP's endpoints
 */
public List discoverRP(String url) throws DiscoveryException
{
  return discover(url, 0,
    Collections.singleton(DiscoveryInformation.OPENID2_RP))
    .getDiscoveredInformation(Collections.singleton(DiscoveryInformation.OPENID2_RP));
}

代码示例来源:origin: org.wso2.org.openid4java/openid4java-nodeps

/**
 * Performs Relyin Party discovery on the supplied URL.
 *
 * @param url RP's realm or return_to URL
 * @return List of DiscoveryInformation entries discovered
 * from the RP's endpoints
 */
public List discoverRP(String url) throws DiscoveryException {
  return discover(url, 0,
          Collections.singleton(DiscoveryInformation.OPENID2_RP))
      .getDiscoveredInformation(Collections.singleton(DiscoveryInformation.OPENID2_RP));
}

代码示例来源:origin: com.cloudbees/openid4java-shaded

/**
 * Performs Relyin Party discovery on the supplied URL.
 *
 * @param url   RP's realm or return_to URL
 * @return      List of DiscoveryInformation entries discovered
 *              from the RP's endpoints
 */
public List discoverRP(String url) throws DiscoveryException
{
  return discover(url, 0,
    Collections.singleton(DiscoveryInformation.OPENID2_RP))
    .getDiscoveredInformation(Collections.singleton(DiscoveryInformation.OPENID2_RP));
}

代码示例来源:origin: jbufu/openid4java

/**
 * Performs Relyin Party discovery on the supplied URL.
 *
 * @param url   RP's realm or return_to URL
 * @return      List of DiscoveryInformation entries discovered
 *              from the RP's endpoints
 */
public List discoverRP(String url) throws DiscoveryException
{
  return discover(url, 0,
    Collections.singleton(DiscoveryInformation.OPENID2_RP))
    .getDiscoveredInformation(Collections.singleton(DiscoveryInformation.OPENID2_RP));
}

代码示例来源:origin: org.openid4java/openid4java

/**
 * Performs Relyin Party discovery on the supplied URL.
 *
 * @param url   RP's realm or return_to URL
 * @return      List of DiscoveryInformation entries discovered
 *              from the RP's endpoints
 */
public List discoverRP(String url) throws DiscoveryException
{
  return discover(url, 0,
    Collections.singleton(DiscoveryInformation.OPENID2_RP))
    .getDiscoveredInformation(Collections.singleton(DiscoveryInformation.OPENID2_RP));
}

代码示例来源:origin: org.openid4java/openid4java-nodeps

/**
 * Performs Yadis discovery on the YadisURL.
 * <p>
 * <ul>
 * <li> tries to retrieve the XRDS location via a HEAD call on the Yadis URL
 * <li> retrieves the XRDS document with a GET on the above if available,
 *      or through a GET on the YadisURL otherwise
 * </ul>
 *
 * @param url           YadisURL on which discovery will be performed
 * @param maxRedirects  The maximum number of redirects to be followed.
 * @param httpFetcher   {@link HttpFetcher} object to use for the call.
 * @return              List of DiscoveryInformation entries discovered
 *                      obtained from the URL Identifier.
 * @see YadisResult
 */
public List discover(String url, int maxRedirects, HttpFetcher httpFetcher)
  throws DiscoveryException
{
  return discover(url, maxRedirects, httpFetcher, DiscoveryInformation.OPENID_OP_TYPES)
    .getDiscoveredInformation(DiscoveryInformation.OPENID_OP_TYPES);
}

代码示例来源:origin: org.wso2.org.openid4java/openid4java-nodeps

/**
 * Performs Yadis discovery on the YadisURL.
 * <p/>
 * <ul>
 * <li> tries to retrieve the XRDS location via a HEAD call on the Yadis URL
 * <li> retrieves the XRDS document with a GET on the above if available,
 * or through a GET on the YadisURL otherwise
 * </ul>
 *
 * @param url          YadisURL on which discovery will be performed
 * @param maxRedirects The maximum number of redirects to be followed.
 * @param httpFetcher  {@link HttpFetcher} object to use for the call.
 * @return List of DiscoveryInformation entries discovered
 * obtained from the URL Identifier.
 * @see YadisResult
 */
public List discover(String url, int maxRedirects, HttpFetcher httpFetcher)
    throws DiscoveryException {
  return discover(url, maxRedirects, httpFetcher, DiscoveryInformation.OPENID_OP_TYPES)
      .getDiscoveredInformation(DiscoveryInformation.OPENID_OP_TYPES);
}

代码示例来源:origin: jbufu/openid4java

/**
 * Performs Yadis discovery on the YadisURL.
 * <p>
 * <ul>
 * <li> tries to retrieve the XRDS location via a HEAD call on the Yadis URL
 * <li> retrieves the XRDS document with a GET on the above if available,
 *      or through a GET on the YadisURL otherwise
 * </ul>
 *
 * @param url           YadisURL on which discovery will be performed
 * @param maxRedirects  The maximum number of redirects to be followed.
 * @param httpFetcher   {@link HttpFetcher} object to use for the call.
 * @return              List of DiscoveryInformation entries discovered
 *                      obtained from the URL Identifier.
 * @see YadisResult
 */
public List discover(String url, int maxRedirects, HttpFetcher httpFetcher)
  throws DiscoveryException
{
  return discover(url, maxRedirects, httpFetcher, DiscoveryInformation.OPENID_OP_TYPES)
    .getDiscoveredInformation(DiscoveryInformation.OPENID_OP_TYPES);
}

代码示例来源:origin: org.openid4java/openid4java

/**
 * Performs Yadis discovery on the YadisURL.
 * <p>
 * <ul>
 * <li> tries to retrieve the XRDS location via a HEAD call on the Yadis URL
 * <li> retrieves the XRDS document with a GET on the above if available,
 *      or through a GET on the YadisURL otherwise
 * </ul>
 *
 * @param url           YadisURL on which discovery will be performed
 * @param maxRedirects  The maximum number of redirects to be followed.
 * @param httpFetcher   {@link HttpFetcher} object to use for the call.
 * @return              List of DiscoveryInformation entries discovered
 *                      obtained from the URL Identifier.
 * @see YadisResult
 */
public List discover(String url, int maxRedirects, HttpFetcher httpFetcher)
  throws DiscoveryException
{
  return discover(url, maxRedirects, httpFetcher, DiscoveryInformation.OPENID_OP_TYPES)
    .getDiscoveredInformation(DiscoveryInformation.OPENID_OP_TYPES);
}

代码示例来源:origin: com.cloudbees/openid4java-shaded

/**
 * Performs Yadis discovery on the YadisURL.
 * <p>
 * <ul>
 * <li> tries to retrieve the XRDS location via a HEAD call on the Yadis URL
 * <li> retrieves the XRDS document with a GET on the above if available,
 *      or through a GET on the YadisURL otherwise
 * </ul>
 *
 * @param url           YadisURL on which discovery will be performed
 * @param maxRedirects  The maximum number of redirects to be followed.
 * @param httpFetcher   {@link HttpFetcher} object to use for the call.
 * @return              List of DiscoveryInformation entries discovered
 *                      obtained from the URL Identifier.
 * @see YadisResult
 */
public List discover(String url, int maxRedirects, HttpFetcher httpFetcher)
  throws DiscoveryException
{
  return discover(url, maxRedirects, httpFetcher, DiscoveryInformation.OPENID_OP_TYPES)
    .getDiscoveredInformation(DiscoveryInformation.OPENID_OP_TYPES);
}

26 4 0
Copyright 2021 - 2024 cfsdn All Rights Reserved 蜀ICP备2022000587号
广告合作:1813099741@qq.com 6ren.com