gpt4 book ai didi

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

转载 作者:知者 更新时间:2024-03-15 04:30:49 28 4
gpt4 key购买 nike

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

YadisResolver.discoverRP介绍

[英]Performs Relyin Party discovery on the supplied URL.
[中]在提供的URL上执行关联方发现。

代码示例

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

/**
 * Performs discovery on the Relying Party's realm and returns a list of
 * OpenID 2.0 DiscoveryInformation entries.
 * <p>
 * Static method / caller must provide a YadisResolver so that
 * the OP doesn't have to instantiate a Discovery object.
 *
 * @param realm         RP's realm.
 * @param yadisResolver The YadisResolver instance to be used for discovery.
 * @return              List of OpenID 2.0 DiscoveryInformation endpoints.
 */
public static List rpDiscovery(String realm, YadisResolver yadisResolver)
  throws DiscoveryException
{
  // don't follow redirects when doing RP discovery
  return yadisResolver.discoverRP(realm);
}

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

/**
 * Performs discovery on the Relying Party's realm and returns a list of
 * OpenID 2.0 DiscoveryInformation entries.
 * <p>
 * Static method / caller must provide a YadisResolver so that
 * the OP doesn't have to instantiate a Discovery object.
 *
 * @param realm         RP's realm.
 * @param yadisResolver The YadisResolver instance to be used for discovery.
 * @return              List of OpenID 2.0 DiscoveryInformation endpoints.
 */
public static List rpDiscovery(String realm, YadisResolver yadisResolver)
  throws DiscoveryException
{
  // don't follow redirects when doing RP discovery
  return yadisResolver.discoverRP(realm);
}

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

/**
 * Performs discovery on the Relying Party's realm and returns a list of
 * OpenID 2.0 DiscoveryInformation entries.
 * <p/>
 * Static method / caller must provide a YadisResolver so that
 * the OP doesn't have to instantiate a Discovery object.
 *
 * @param realm         RP's realm.
 * @param yadisResolver The YadisResolver instance to be used for discovery.
 * @return List of OpenID 2.0 DiscoveryInformation endpoints.
 */
public static List rpDiscovery(String realm, YadisResolver yadisResolver)
    throws DiscoveryException {
  // don't follow redirects when doing RP discovery
  return yadisResolver.discoverRP(realm);
}

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

/**
 * Performs discovery on the Relying Party's realm and returns a list of
 * OpenID 2.0 DiscoveryInformation entries.
 * <p>
 * Static method / caller must provide a YadisResolver so that
 * the OP doesn't have to instantiate a Discovery object.
 *
 * @param realm         RP's realm.
 * @param yadisResolver The YadisResolver instance to be used for discovery.
 * @return              List of OpenID 2.0 DiscoveryInformation endpoints.
 */
public static List rpDiscovery(String realm, YadisResolver yadisResolver)
  throws DiscoveryException
{
  // don't follow redirects when doing RP discovery
  return yadisResolver.discoverRP(realm);
}

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

/**
 * Performs discovery on the Relying Party's realm and returns a list of
 * OpenID 2.0 DiscoveryInformation entries.
 * <p>
 * Static method / caller must provide a YadisResolver so that
 * the OP doesn't have to instantiate a Discovery object.
 *
 * @param realm         RP's realm.
 * @param yadisResolver The YadisResolver instance to be used for discovery.
 * @return              List of OpenID 2.0 DiscoveryInformation endpoints.
 */
public static List rpDiscovery(String realm, YadisResolver yadisResolver)
  throws DiscoveryException
{
  // don't follow redirects when doing RP discovery
  return yadisResolver.discoverRP(realm);
}

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