9.0.10076 • Published 4 years ago

@acoustic-content-sdk/redux-feature-login v9.0.10076

Weekly downloads
1
License
MIT
Repository
-
Last release
4 years ago

npm

Feature store for authentication related aspects of Acoustic Content.

API Documentation

Home > @acoustic-content-sdk/redux-feature-login

redux-feature-login package

Feature store for authentication related aspects of Acoustic Content.

Interfaces

InterfaceDescription
LoggedInFeatureState
LoginCredentialsCredentials used to login
NextLoginReduxState

Variables

VariableDescription
ACTION_CHECKED_LOGGED_IN
ACTION_FEDERATED_LOGIN
ACTION_LOGGED_IN
ACTION_LOGGED_OUT
ACTION_PASSWORD_LOGIN
checkLoggedInActionAction to check if the system is logged in or not
federatedLoginActionAction to execute a login
loggedInActionAction to indicate that a successful login occurred
loggedInFeatureExposes the feature module selector
loggedInFeatureReducer
loggedOutActionAction to indicate that a successful logout occurred
nextLoginReturns an operator that emits once when a user logged in
passwordLoginActionAction to execute a login
selectLoggedInFeatureSelect the login feature
VERSIONVersion and build number of the package

Type Aliases

Type AliasDescription
CheckLoggedInAction
FederatedLoginAction
LoggedInAction
LoggedOutAction
PasswordLoginAction

Home > @acoustic-content-sdk/redux-feature-login > LoggedInFeatureState

LoggedInFeatureState interface

Signature:

export interface LoggedInFeatureState 

Properties

PropertyTypeDescription
loggedInLoggedInState

Home > @acoustic-content-sdk/redux-feature-login > LoginCredentials

LoginCredentials interface

Credentials used to login

Signature:

export interface LoginCredentials 

Properties

PropertyTypeDescription
passwordstringThe WCH password
usernamestringThe WCH username, typically an email or the string 'apikey'

Home > @acoustic-content-sdk/redux-feature-login > NextLoginReduxState

NextLoginReduxState interface

Signature:

export interface NextLoginReduxState extends LoggedInFeatureState 

Home > @acoustic-content-sdk/redux-feature-login > ACTION_CHECKED_LOGGED_IN

ACTION_CHECKED_LOGGED_IN variable

Signature:

ACTION_CHECKED_LOGGED_IN = "ACTION_CHECKED_LOGGED_IN"

Home > @acoustic-content-sdk/redux-feature-login > ACTION_FEDERATED_LOGIN

ACTION_FEDERATED_LOGIN variable

Signature:

ACTION_FEDERATED_LOGIN = "ACTION_FEDERATED_LOGIN"

Home > @acoustic-content-sdk/redux-feature-login > ACTION_LOGGED_IN

ACTION_LOGGED_IN variable

Signature:

ACTION_LOGGED_IN = "ACTION_LOGGED_IN"

Home > @acoustic-content-sdk/redux-feature-login > ACTION_LOGGED_OUT

ACTION_LOGGED_OUT variable

Signature:

ACTION_LOGGED_OUT = "ACTION_LOGGED_OUT"

Home > @acoustic-content-sdk/redux-feature-login > ACTION_PASSWORD_LOGIN

ACTION_PASSWORD_LOGIN variable

Signature:

ACTION_PASSWORD_LOGIN = "ACTION_PASSWORD_LOGIN"

Home > @acoustic-content-sdk/redux-feature-login > checkLoggedInAction

checkLoggedInAction variable

Action to check if the system is logged in or not

Signature:

checkLoggedInAction: Generator<CheckLoggedInAction>

Home > @acoustic-content-sdk/redux-feature-login > federatedLoginAction

federatedLoginAction variable

Action to execute a login

Signature:

federatedLoginAction: Generator<FederatedLoginAction>

Home > @acoustic-content-sdk/redux-feature-login > loggedInAction

loggedInAction variable

Action to indicate that a successful login occurred

Signature:

loggedInAction: Generator<LoggedInAction>

Home > @acoustic-content-sdk/redux-feature-login > loggedInFeature

loggedInFeature variable

Exposes the feature module selector

Signature:

loggedInFeature: import("@acoustic-content-sdk/redux-store").ReduxFeatureModule<boolean, LoggedInFeatureState, import("redux").AnyAction, import("redux").AnyAction, any>

Home > @acoustic-content-sdk/redux-feature-login > loggedInFeatureReducer

loggedInFeatureReducer variable

Signature:

loggedInFeatureReducer: {
    loggedIn: import("redux").Reducer<boolean, import("redux").AnyAction>;
}

Home > @acoustic-content-sdk/redux-feature-login > loggedOutAction

loggedOutAction variable

Action to indicate that a successful logout occurred

Signature:

loggedOutAction: Generator<LoggedOutAction>

Home > @acoustic-content-sdk/redux-feature-login > nextLogin

nextLogin variable

Returns an operator that emits once when a user logged in

Signature:

nextLogin: OperatorFunction<NextLoginReduxState, boolean>

Home > @acoustic-content-sdk/redux-feature-login > passwordLoginAction

passwordLoginAction variable

Action to execute a login

Signature:

passwordLoginAction: UnaryFunction<LoginCredentials, PasswordLoginAction>

Home > @acoustic-content-sdk/redux-feature-login > selectLoggedInFeature

selectLoggedInFeature variable

Select the login feature

Signature:

selectLoggedInFeature: import("rxjs").UnaryFunction<Record<string, any>, boolean>

Home > @acoustic-content-sdk/redux-feature-login > VERSION

VERSION variable

Version and build number of the package

Signature:

VERSION: {
    version: {
        major: string;
        minor: string;
        patch: string;
        branch: string;
    };
    build: Date;
}

Home > @acoustic-content-sdk/redux-feature-login > LoggedInFeatureState > loggedIn

LoggedInFeatureState.loggedIn property

Signature:

[LOGIN_FEATURE]: LoggedInState;

Home > @acoustic-content-sdk/redux-feature-login > LoginCredentials > password

LoginCredentials.password property

The WCH password

Signature:

password: string;

Home > @acoustic-content-sdk/redux-feature-login > LoginCredentials > username

LoginCredentials.username property

The WCH username, typically an email or the string 'apikey'

Signature:

username: string;
9.0.10076

4 years ago

9.0.10067

4 years ago

9.0.10034

4 years ago

9.0.10040

4 years ago

9.0.495

4 years ago

9.0.493

4 years ago

9.0.462

4 years ago

9.0.407

4 years ago

9.0.384

4 years ago

9.0.361

4 years ago

9.0.360

4 years ago

9.0.271

4 years ago

9.0.251

4 years ago

9.0.242

4 years ago

9.0.216

4 years ago

9.0.209

4 years ago

9.0.202

4 years ago

9.0.124

4 years ago

9.0.89

4 years ago

9.0.75

4 years ago

9.0.74

4 years ago

9.0.29

4 years ago

9.0.30

4 years ago

8.0.601

4 years ago

8.0.498

4 years ago

8.0.475

4 years ago