Skip to main content

# auth

    const auth: {
      login: (__namedParameters: LoginParms) => {
         payload: LoginParms;
         type: string;
      };
      logout: (__namedParameters: LogoutParams) => {
         payload: LogoutParams;
         type: string;
      };
    };

## Type Declaration​

### login()​

    login: (__namedParameters: LoginParms) => {
      payload: LoginParms;
      type: string;
    };

#### Parameters​

##### __namedParameters​

`LoginParms`

#### Returns​

    {
      payload: LoginParms;
      type: string;
    }

##### payload​

    payload: LoginParms;

##### type​

    type: string;

### logout()​

    logout: (__namedParameters: LogoutParams) => {
      payload: LogoutParams;
      type: string;
    };

#### Parameters​

##### __namedParameters​

`LogoutParams`

#### Returns​

    {
      payload: LogoutParams;
      type: string;
    }

##### payload​

    payload: LogoutParams;

##### type​

    type: string;