Skip to main content

foundation-login

Home > @genesislcap/foundation-login

foundation-login package

Classes

Class

Description

DefaultLoginRouting

Default LoginRouting.

Login

Defines the login class which handles account authentication from the front-end

LoginHosted

(BETA)

Functions

Function

Description

configure(container, config)

Configure the login micro frontend settings.

fetchIDPs(path, host)

Request SSO identity provider list

getLoginRouting()

Gets LoginRouting from the DI container.

getSSOLoginURL(idp, path, host)

Get SSO identity provider login URL

isMFRoute(pathname)

A utility to check if a pathname is a route of this micro frontend.

styles(options)

template(options)

Interfaces

Interface

Description

IDP

IDPResponse

LoginConfig

LoginConfig DI interface.

LoginRouting

LoginRouting interface.

Variables

Variable

Description

defaultApiHost

defaultLoginConfig

Default LoginConfig DI implementation.

defaultOrganisation

defaultPassword

defaultSocketExt

defaultTemplateOptions

(BETA) The default template options this MF has been created with.

defaultUser

define

(BETA) Re-define the login micro frontend.

definition

(BETA)

hostEnv

hostUrl

Routes

Type Aliases

Type Alias

Description

FieldConfig

Could be expanded to allow field ViewTemplates.

FieldConfigMap

MessageDelayKey

MessageDelays

Routes

Settings

Defines the parameters you may set on the routes.

SSOConfig

If you don't provide SSOConfig on the login config then SSO is disabled completely.

TemplateComponents

(BETA)

TemplateOptions

(BETA)