Socket
Socket
Sign inDemoInstall

@cloverbyte/auth

Package Overview
Dependencies
Maintainers
1
Versions
19
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

@cloverbyte/auth

An angular library


Version published
Maintainers
1
Created
Source

Cloverbyte Auth

This library was generated with Angular CLI version 13.2.0.

Dependencies

  • @angular/fire version 7.2.1+
  • @ngxs/store 3.7.3+
  • firebase 9.4.0+
  • rxfire 6.0.0+

Install

npm install @cloverbyte/auth

Setup

import { CloverbyteAuthModule } from '@cloverbyte/auth';

@NgModule({
  imports: [
    ...
    ...
    CloverbyteAuthModule.forRoot({ // CloverbyteAuthModule added
      apiUrl: 'SAMPLE_URL';
      loginNavigationPath: '<path to destination after login>';
      logoutNavigationPath: '<path to destination after logout>';
      defaultPhotoUrl: '<path to default profile photo>';
    }),

    // imports state management
    NgxsModule.forRoot([
      ...
      AuthState,
      UserState,
      ...
    ]),
    ...
    ...
  ],
  bootstrap: [App],
  declarations: [App],
})
class AppModule {}

API

User

MethodDescription
findById
updateUserInfo
updateUserPhoto
create
delete

Auth

MethodDescription
setAuth
login
logout
getToken
signUp
sendPasswordResetEmail
resetPassword
sendVerificationEmail

Keywords

FAQs

Package last updated on 04 Apr 2022

Did you know?

Socket

Socket for GitHub automatically highlights issues in each pull request and monitors the health of all your open source dependencies. Discover the contents of your packages and block harmful activity before you install or update your dependencies.

Install

Related posts

SocketSocket SOC 2 Logo

Product

  • Package Alerts
  • Integrations
  • Docs
  • Pricing
  • FAQ
  • Roadmap
  • Changelog

Packages

npm

Stay in touch

Get open source security insights delivered straight into your inbox.


  • Terms
  • Privacy
  • Security

Made with ⚡️ by Socket Inc