spring-security-oauth2
.@Deprecated
public class OpenIDAttribute
extends java.lang.Object
implements java.io.Serializable
Can be used for configuring the OpenID4JavaConsumer with the attributes which should be requested during a fetch request, or to hold values for an attribute which are returned during the authentication process.
Constructor and Description |
---|
OpenIDAttribute(java.lang.String name,
java.lang.String type)
Deprecated.
|
OpenIDAttribute(java.lang.String name,
java.lang.String type,
java.util.List<java.lang.String> values)
Deprecated.
|
Modifier and Type | Method and Description |
---|---|
int |
getCount()
Deprecated.
The requested count for the attribute when it is used as part of an authentication
request.
|
java.lang.String |
getName()
Deprecated.
The attribute name
|
java.lang.String |
getType()
Deprecated.
The attribute type Identifier (a URI).
|
java.util.List<java.lang.String> |
getValues()
Deprecated.
The values obtained from an attribute exchange.
|
boolean |
isRequired()
Deprecated.
The "required" flag for the attribute when used with an authentication request.
|
void |
setCount(int count)
Deprecated.
|
void |
setRequired(boolean required)
Deprecated.
|
java.lang.String |
toString()
Deprecated.
|
public OpenIDAttribute(java.lang.String name, java.lang.String type)
public OpenIDAttribute(java.lang.String name, java.lang.String type, java.util.List<java.lang.String> values)
public java.lang.String getName()
public java.lang.String getType()
public boolean isRequired()
public void setRequired(boolean required)
public int getCount()
public void setCount(int count)
public java.util.List<java.lang.String> getValues()
public java.lang.String toString()
toString
in class java.lang.Object