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:
  • Constructor Details

    • OAuth2IdentityProvider

      public OAuth2IdentityProvider()
  • Method Details

    • 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:
      id - 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.
    • equals

      public boolean equals(Object o)
      Overrides:
      equals in class Object
    • canEqual

      protected boolean canEqual(Object other)
    • hashCode

      public int hashCode()
      Overrides:
      hashCode in class Object
    • toString

      public String toString()
      Overrides:
      toString in class Object