public class OpenIDAuthResponse extends Object
Constructor and Description |
---|
OpenIDAuthResponse(String identifier,
boolean authenticated)
Creates a new OpenID authentication response object.
|
Modifier and Type | Method and Description |
---|---|
void |
addAttribute(String name,
String value) |
Map<String,String> |
getAttributes() |
String |
getClaimedIdentifier() |
String |
getIdentifier() |
boolean |
hasAttributes() |
boolean |
isAuthenticated() |
void |
setAttributes(Map<String,String> attributes) |
void |
setAuthenticated(boolean authenticated) |
void |
setClaimedIdentifier(String claimedIdentifier) |
void |
setIdentifier(String identifier) |
public OpenIDAuthResponse(String identifier, boolean authenticated)
identifier
- the OpenID identifier and claimed identifier.
If the claimed identifier is different, then set it with the corresponding setter.authenticated
- true if the OpenID identifier has been authenticated.public String getIdentifier()
public void setIdentifier(String identifier)
public String getClaimedIdentifier()
public void setClaimedIdentifier(String claimedIdentifier)
public boolean isAuthenticated()
public void setAuthenticated(boolean authenticated)
public boolean hasAttributes()
Copyright © 2021 Atlassian. All rights reserved.