Newer Version Available

This content describes an older version of this product. View Latest

SocialLoginController Class

Represents the social authentication providers configured for the community. For internal use only.

Namespace

AppLauncher

SocialLoginController Methods

The following are methods for SocialLoginController.

getSamlSsoUrl(startUrl, samlId)

Returns the URL to the SAML provider for the community.

Signature

public static String getSamlSsoUrl(String startUrl, String samlId)

Parameters

startUrl
Type: String
Path to the page that users see when they access the community.
samlId
Type: String
Unique identifier of the SAML provider.

Return Value

Type: String

getSsoUrl(startUrl, developerName)

Returns the single sign-on URL for the community.

Signature

public static String getSsoUrl(String startUrl, String developerName)

Parameters

startUrl
Type: String
Path to the page that users see when they access the community.
developerName
Type: String
Unique name of the authentication provider.

Return Value

Type: String