public class OpenIDAuthRequest extends Object implements Serializable
Constructor and Description |
---|
OpenIDAuthRequest(String identifier,
String returnURL)
Creates an OpenID authentication request for an OpenID.
|
Modifier and Type | Method and Description |
---|---|
void |
addOptionalAttribute(String attrib)
Adds an optional attribute to the list of optional attributes.
|
void |
addRequiredAttribute(String attrib)
Adds an attribute to the list of required attributes.
|
String |
getIdentifier() |
Iterable<String> |
getOptionalAttributes()
Return the list of optional attibutes.
|
Iterable<String> |
getRequiredAttributes()
Return the list of required attibutes.
|
String |
getReturnURL() |
boolean |
hasOptionalAttributes() |
boolean |
hasRequiredAttributes() |
boolean |
isImmediate() |
boolean |
isStateless() |
void |
setIdentifier(String identifier) |
void |
setImmediate(boolean immediate) |
void |
setOptionalAttributes(List<String> optionalAttributes) |
void |
setRequiredAttributes(List<String> requiredAttributes) |
void |
setReturnURL(String returnURL) |
void |
setStateless(boolean stateless) |
public void addRequiredAttribute(String attrib)
attrib
- name of attribute to add.public void addOptionalAttribute(String attrib)
attrib
- name of attribute to add.public boolean hasRequiredAttributes()
public boolean hasOptionalAttributes()
public String getIdentifier()
public void setIdentifier(String identifier)
identifier
- URI/XRI OpenID to set for this request.public Iterable<String> getRequiredAttributes()
public Iterable<String> getOptionalAttributes()
public String getReturnURL()
public void setReturnURL(String returnURL)
returnURL
- sets the URL the OpenID Provider will redirect the authentication response to.public void setRequiredAttributes(List<String> requiredAttributes)
requiredAttributes
- required attribute namespublic void setOptionalAttributes(List<String> optionalAttributes)
optionalAttributes
- optional attribute namespublic boolean isImmediate()
public void setImmediate(boolean immediate)
public boolean isStateless()
public void setStateless(boolean stateless)
Copyright © 2021 Atlassian. All rights reserved.