本文整理了Java中org.openid4java.message.Message.addExtension()
方法的一些代码示例,展示了Message.addExtension()
的具体用法。这些代码示例主要来源于Github
/Stackoverflow
/Maven
等平台,是从一些精选项目中提取出来的代码,具有较强的参考意义,能在一定程度帮忙到你。Message.addExtension()
方法的具体详情如下:
包路径:org.openid4java.message.Message
类名称:Message
方法名:addExtension
[英]Adds a set of extension-specific parameters to a message.
The parameter names must NOT contain the "openid." prefix; it will be generated dynamically, ensuring there are no conflicts between extensions.
[中]向消息中添加一组特定于扩展的参数。
参数名称不能包含“openid”前缀它将动态生成,确保扩展之间没有冲突。
代码示例来源:origin: org.openid4java/openid4java
/**
* Adds a set of extension-specific parameters to a message.
* <p>
* The parameter names must NOT contain the "openid.<extension_alias>"
* prefix; it will be generated dynamically, ensuring there are no conflicts
* between extensions.
*
* @param extension A MessageExtension containing parameters
* to be added to the message
*/
public void addExtension(MessageExtension extension) throws MessageException
{
addExtension(extension, null);
}
代码示例来源:origin: com.cloudbees/openid4java-shaded
/**
* Adds a set of extension-specific parameters to a message.
* <p>
* The parameter names must NOT contain the "openid.<extension_alias>"
* prefix; it will be generated dynamically, ensuring there are no conflicts
* between extensions.
*
* @param extension A MessageExtension containing parameters
* to be added to the message
*/
public void addExtension(MessageExtension extension) throws MessageException
{
addExtension(extension, null);
}
代码示例来源:origin: jbufu/openid4java
/**
* Adds a set of extension-specific parameters to a message.
* <p>
* The parameter names must NOT contain the "openid.<extension_alias>"
* prefix; it will be generated dynamically, ensuring there are no conflicts
* between extensions.
*
* @param extension A MessageExtension containing parameters
* to be added to the message
*/
public void addExtension(MessageExtension extension) throws MessageException
{
addExtension(extension, null);
}
代码示例来源:origin: org.wso2.org.openid4java/openid4java-nodeps
response.addExtension(fetchResp);
response.addExtension(sregResp);
代码示例来源:origin: org.openid4java/openid4java-nodeps
response.addExtension(fetchResp);
response.addExtension(sregResp);
代码示例来源:origin: com.cloudbees/openid4java-shaded
response.addExtension(fetchResp);
response.addExtension(sregResp);
代码示例来源:origin: org.openid4java/openid4java
response.addExtension(fetchResp);
response.addExtension(sregResp);
代码示例来源:origin: jbufu/openid4java
response.addExtension(fetchResp);
response.addExtension(sregResp);
代码示例来源:origin: org.wso2.carbon.identity/org.wso2.carbon.identity.provider
requestDTO.getProfileName(), requestDTO);
if (messageExtension != null) {
message.addExtension(messageExtension);
AuthSuccess authSuccess = (AuthSuccess) message;
authSuccess.addSignExtension((String) alias);
代码示例来源:origin: org.wso2.carbon.identity.inbound.auth.openid/org.wso2.carbon.identity.provider
requestDTO.getProfileName(), requestDTO);
if (messageExtension != null) {
message.addExtension(messageExtension);
AuthSuccess authSuccess = (AuthSuccess) message;
authSuccess.addSignExtension((String) alias);
内容来源于网络,如有侵权,请联系作者删除!