Class OAuth2IdentityProvider
java.lang.Object
com.broadleafcommerce.auth.user.web.endpoint.model.OAuth2IdentityProvider
- All Implemented Interfaces:
Serializable
Represents a configured identity provider to be shown as a model attribute in a Thymeleaf
template.
- Author:
- Nathan Moore (nathandmoore)
- See Also:
-
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionprotected booleanbooleangetIcon()The path to a static resource that represents an icon to display on the action component for this IDP.getId()The registration ID of the of the IDP.getName()The name of the IDP.getUrl()The action URL to take the user to the authentication page for this IDP.inthashCode()voidThe path to a static resource that represents an icon to display on the action component for this IDP.voidThe registration ID of the of the IDP.voidThe name of the IDP.voidThe action URL to take the user to the authentication page for this IDP.toString()
-
Constructor Details
-
OAuth2IdentityProvider
public OAuth2IdentityProvider()
-
-
Method Details
-
getId
The registration ID of the of the IDP.- Returns:
- The ID of the IDP.
-
getName
The name of the IDP. This will be displayed to the user.- Returns:
- The name of the IDP.
-
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
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
The registration ID of the of the IDP.- Parameters:
id- The ID of the IDP.
-
setName
The name of the IDP. This will be displayed to the user.- Parameters:
name- The name of the IDP.
-
setUrl
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
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.
-
equals
-
canEqual
-
hashCode
public int hashCode() -
toString
-