Class OAuth2IdentityProvider
- java.lang.Object
-
- com.broadleafcommerce.auth.user.web.endpoint.model.OAuth2IdentityProvider
-
- All Implemented Interfaces:
Serializable
public class OAuth2IdentityProvider extends Object implements Serializable
Represents a configured identity provider to be shown as a model attribute in a Thymeleaf template.- Author:
- Nathan Moore (nathandmoore)
- See Also:
- Serialized Form
-
-
Constructor Summary
Constructors Constructor Description OAuth2IdentityProvider()
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description protected boolean
canEqual(Object other)
boolean
equals(Object o)
String
getIcon()
The path to a static resource that represents an icon to display on the action component for this IDP.String
getId()
The registration ID of the of the IDP.String
getName()
The name of the IDP.String
getUrl()
The action URL to take the user to the authentication page for this IDP.int
hashCode()
void
setIcon(String icon)
The path to a static resource that represents an icon to display on the action component for this IDP.void
setId(String id)
The registration ID of the of the IDP.void
setName(String name)
The name of the IDP.void
setUrl(String url)
The action URL to take the user to the authentication page for this IDP.String
toString()
-
-
-
Method Detail
-
getId
public String getId()
The registration ID of the of the IDP.- Returns:
- The ID of the IDP.
-
getName
public String getName()
The name of the IDP. This will be displayed to the user.- Returns:
- The name of the IDP.
-
getUrl
public String getUrl()
The action URL to take the user to the authentication page for this IDP.- Returns:
- The action URL to take the user to the authentication page for this IDP.
-
getIcon
public String getIcon()
The path to a static resource that represents an icon to display on the action component for this IDP.- Returns:
- The path to a static resource that represents an icon to display on the action component for this IDP.
-
setId
public void setId(String id)
The registration ID of the of the IDP.- Parameters:
name
- The ID of the IDP.
-
setName
public void setName(String name)
The name of the IDP. This will be displayed to the user.- Parameters:
name
- The name of the IDP.
-
setUrl
public void setUrl(String url)
The action URL to take the user to the authentication page for this IDP.- Parameters:
url
- The action URL to take the user to the authentication page for this IDP.
-
setIcon
public void setIcon(String icon)
The path to a static resource that represents an icon to display on the action component for this IDP.- Parameters:
icon
- The path to a static resource that represents an icon to display on the action component for this IDP.
-
canEqual
protected boolean canEqual(Object other)
-
-