public class OpenIDPrincipal extends Object
| Constructor and Description |
|---|
OpenIDPrincipal(OpenIDAuthResponse resp)
Construct an OpenIDPrincipal from an OpenIDAuthResponse message.
|
| Modifier and Type | Method and Description |
|---|---|
String |
getAttribute(String key)
Returns the value of an attribute.
|
Map |
getAttributesMap()
Map of attributes (may be null if no attributes present).
|
String |
getIdentifier() |
void |
setAttributesMap(Map attributesMap)
Map of attributes (may be null if no attributes present).
|
void |
setIdentifier(String identifier) |
public OpenIDPrincipal(OpenIDAuthResponse resp) throws OpenIDAuthResponseException
resp - OpenIDAuthResponse message.OpenIDAuthResponseException - if the OpenIDAuthResponse is an error message.public String getIdentifier()
public void setIdentifier(String identifier)
identifier - URI/XRI OpenID.public Map getAttributesMap()
public void setAttributesMap(Map attributesMap)
attributesMap - Map< String attribname, List<String> values >Copyright © 2024 Atlassian. All rights reserved.