auth

package
v0.0.0-...-af029f7 Latest Latest
Warning

This package is not in the latest version of its module.

Go to latest
Published: Sep 2, 2021 License: AGPL-3.0 Imports: 9 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func InitialiseFirebaseAuthBackend

func InitialiseFirebaseAuthBackend(credentialsFilePath *string)

InitialiseFirebaseAuthBackend initialises the firebase backend client

Types

type AuthProviders

type AuthProviders struct {
	PhoneNumber string
	Email       string
	AppleID     string
}

AuthProviders contains the possible authorisation mechanisms

func GetUserAuthProviders

func GetUserAuthProviders(ctx context.Context, uid string) (AuthProviders, error)

GetUserAuthProviders provides the authorisation mechanisms contained by the users record on firebase

Jump to

Keyboard shortcuts

? : This menu
/ : Search site
f or F : Jump to
y or Y : Canonical URL