Builder for registering a set of URL paths that an app handles as a dynamic identity provider endpoint. Obtained from dynamicIdpPaths on the controller mappings. Set the provider type and one or more paths, then call build to register them, so that requests to those paths are routed to the named identity provider type. Registration only takes effect while the app's controller mappings are still being assembled; calling build after that point has no effect.
Group: Builders
Methods
type(String type)
Returns: IdpDynamicPathsBuilder
Sets the identity provider type that the registered paths are handled as.
| Parameter | Description |
|---|---|
type | the identity provider type, matched against registered IDP implementations |
addPaths(String paths)
Returns: IdpDynamicPathsBuilder
Adds one or more URL paths to be registered against the provider type set on this builder. May be called more than once to accumulate paths; null or empty arguments are ignored.
| Parameter | Description |
|---|---|
paths | the paths to add |
build()
Returns: void
Registers the accumulated paths against the provider type. Has no effect if the app's controller mappings have already finished initialising.