public final class WebAuthProviderDescription
extends java.lang.Object
Constructor and Description |
---|
WebAuthProviderDescription(java.lang.String label,
java.lang.String providerName,
java.lang.String color)
Creates a new instance.
|
Modifier and Type | Method and Description |
---|---|
java.lang.String |
getColor()
Returns the CSS color to use as background color of the button on the login page, or
null if the default
color should be used. |
java.lang.String |
getLabel()
Returns the label to be shown on the login page.
|
java.lang.String |
getProviderName()
Returns the name of the provider.
|
public WebAuthProviderDescription(java.lang.String label, java.lang.String providerName, java.lang.String color)
label
- the label to be displayed on the login page, must not be null
providerName
- the name of the provider, will be passed to the authenticator when retrieving the
authentication endpoint URL, must not be null
color
- the background color of the button on the login page, may be null
in which case a default
color will be usedCustomWebAuthenticator.getAuthenticationEndpoint(java.util.Map, String, String)
public java.lang.String getLabel()
public java.lang.String getProviderName()
CustomWebAuthenticator.getAuthenticationEndpoint(java.util.Map, String, String)
public java.lang.String getColor()
null
if the default
color should be used.null
if the default
color should be usedCopyright © 2000-2020 TIBCO Software Inc. All Rights Reserved.