Registers a function that dynamically produces the full list of alternative sign in providers for a repository app's admin console or website, as an alternative to declaring each provider statically with SigninProviderBuilder. Started from ControllerMappingList.signinProviderDetails() for the admin console, or websiteSigninProviderDetails() for a public website. Call build() to register the configured function name, which is invoked at render time and passed the provider list to append to.
Group: Builders
Methods
signinProvidersFn(String signinProvidersFn)
Returns: SigninProviderDetailsBuilder
Sets the name of the server-side function invoked to build the list of sign in providers.
| Parameter | Description |
|---|---|
signinProvidersFn | the name of the function that populates the sign in provider list |
build()
Returns: void
Finishes this builder, registering the configured function name on the target ControllerMappingList as either the admin console or website sign in providers function, depending on how this builder was constructed. Logs a warning if no function name was set, since the registration would then be unusable.