### File

`src/app/auth/actions/auth.actions.ts`

### Methods

authorize
`authorize()`
Defined in src/app/auth/actions/auth.actions.ts:10
Returns: `Action`

login
`login()`
Defined in src/app/auth/actions/auth.actions.ts:14
Returns: `Action`

loginSuccess
`loginSuccess()`
Defined in src/app/auth/actions/auth.actions.ts:18
Returns: `Action`

logout
`logout()`
Defined in src/app/auth/actions/auth.actions.ts:22
Returns: `Action`

logoutSuccess
`logoutSuccess()`
Defined in src/app/auth/actions/auth.actions.ts:26
Returns: `Action`

### Properties

Static AUTHORIZE
`AUTHORIZE: `string``
Default value: `AUTHORIZE`
Defined in src/app/auth/actions/auth.actions.ts:8

Static LOGIN
`LOGIN: `string``
Default value: `LOGIN`
Defined in src/app/auth/actions/auth.actions.ts:4

Static LOGIN_SUCCESS
`LOGIN_SUCCESS: `string``
Default value: `LOGIN_SUCCESS`
Defined in src/app/auth/actions/auth.actions.ts:5

Static LOGOUT
`LOGOUT: `string``
Default value: `LOGOUT`
Defined in src/app/auth/actions/auth.actions.ts:6

Static LOGOUT_SUCCESS
`LOGOUT_SUCCESS: `string``
Default value: `LOGOUT_SUCCESS`
Defined in src/app/auth/actions/auth.actions.ts:7

    import { Action } from '@ngrx/store';

    export class AuthActions {
      static LOGIN = 'LOGIN';
      static LOGIN_SUCCESS = 'LOGIN_SUCCESS';
      static LOGOUT = 'LOGOUT';
      static LOGOUT_SUCCESS = 'LOGOUT_SUCCESS';
      static AUTHORIZE = 'AUTHORIZE';

      authorize(): Action {
        return { type: AuthActions.AUTHORIZE };
      }

      login(): Action {
        return { type: AuthActions.LOGIN };
      }

      loginSuccess(): Action {
        return { type: AuthActions.LOGIN_SUCCESS};
      }

      logout(): Action {
        return { type: AuthActions.LOGOUT };
      }

      logoutSuccess(): Action {
        return { type: AuthActions.LOGOUT_SUCCESS };
      }
    }

# results matching ""

# No results matching ""