New Case Study:See how Anthropic automated 95% of dependency reviews with Socket.Learn More
Socket
Sign inDemoInstall
Socket

@nodeart/firebase-connector

Package Overview
Dependencies
Maintainers
1
Versions
60
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

@nodeart/firebase-connector - npm Package Compare versions

Comparing version 2.1.4 to 2.1.5

2

package.json

@@ -36,3 +36,3 @@ {

},
"version": "2.1.4"
"version": "2.1.5"
}
import {AuthMethods, AuthProviders, AngularFire, FirebaseAuthState } from "angularfire2";
import {AuthMethod} from "./auth-method";
import {Injectable} from "@angular/core";
/**
* Anonymous firebase auth service
*/
@Injectable()
export class AnonymouslyAuth implements AuthMethod{
/**
* Name of auth method
*/
name: string = 'Anonymously';

@@ -12,2 +19,6 @@

/**
* Login method
* @returns {firebase.Promise<FirebaseAuthState>} promise with FirebaseAuthState
*/
login(){

@@ -14,0 +25,0 @@ return this.firebase.auth.login({

@@ -0,5 +1,14 @@

/**
* Auth method interface
*/
export interface AuthMethod {
/**
* Auth method name
*/
name: string;
/**
* Auth method login function
*/
login: Function;
}
import {AuthMethods, AuthProviders, AngularFire, FirebaseAuthState} from "angularfire2";
import {AuthMethod} from "./auth-method";
import {Injectable} from "@angular/core";
/**
* Facebook firebase auth service
*/
@Injectable()
export class FacebookAuth implements AuthMethod{
/**
* Name of auth method
*/
name: string = 'Facebook';

@@ -12,2 +19,6 @@

/**
* Login method
* @returns {firebase.Promise<FirebaseAuthState>} promise with FirebaseAuthState
*/
login(){

@@ -14,0 +25,0 @@ return this.firebase.auth.login({

import {AuthMethods, AuthProviders, AngularFire, FirebaseAuthState} from "angularfire2";
import {AuthMethod} from "./auth-method";
import {Injectable} from "@angular/core";
/**
* Github firebase auth service
*/
@Injectable()
export class GithubAuth implements AuthMethod{
/**
* Name of auth method
*/
name: string = 'Github';

@@ -12,2 +19,6 @@

/**
* Login method
* @return {firebase.Promise<FirebaseAuthState>} promise with FirebaseAuthState
*/
login(){

@@ -14,0 +25,0 @@ return this.firebase.auth.login({

import {AuthMethods, AuthProviders, AngularFire, FirebaseRef, FirebaseAuthState} from "angularfire2";
import {AuthMethod} from "./auth-method";
import {Injectable, Inject} from "@angular/core";
/**
* Google firebase auth service
*/
@Injectable()
export class GoogleAuth implements AuthMethod{
/**
* Name of auth method
*/
name: string = 'Google';

@@ -12,2 +19,6 @@

/**
* Login method
* @return {firebase.Promise<FirebaseAuthState>} promise with FirebaseAuthState
*/
login(){

@@ -14,0 +25,0 @@ return this.firebase.auth.login({

import {AuthMethods, AuthProviders, AngularFire, FirebaseAuthState} from "angularfire2";
import {AuthMethod} from "./auth-method";
import {Injectable} from "@angular/core";
/**
* Password firebase auth (with email and password) service
*/
@Injectable()
export class PasswordAuth implements AuthMethod{
/**
* Name of auth method
*/
name: string = 'Password';

@@ -12,2 +19,6 @@

/**
* Login method
* @return {firebase.Promise<FirebaseAuthState>} promise with FirebaseAuthState
*/
login(email, password){

@@ -14,0 +25,0 @@ return this.firebase.auth.login(

import {AuthMethods, AuthProviders, AngularFire, FirebaseAuthState} from "angularfire2";
import {AuthMethod} from "./auth-method";
import {Injectable} from "@angular/core";
/**
* Twitter firebase auth service
*/
@Injectable()
export class TwitterAuth implements AuthMethod{
/**
* Name of auth method
*/
name: string = 'Twitter';

@@ -11,3 +18,6 @@

}
/**
* Login method
* @return {firebase.Promise<FirebaseAuthState>} promise with FirebaseAuthState
*/
login(){

@@ -14,0 +24,0 @@ return this.firebase.auth.login({

@@ -0,1 +1,4 @@

/**
* ElasticSearch index of database
*/
export let esIndex = "firebase";

@@ -10,2 +10,5 @@ import {NgModule} from "@angular/core";

/**
* Firebase connector module
*/
@NgModule({

@@ -12,0 +15,0 @@ providers: [

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