Documentation ¶
Index ¶
Constants ¶
View Source
const (
FirebaseAuthEmailClaimKey = "email"
)
Variables ¶
Functions ¶
Types ¶
type FirebaseAuthIDToken ¶
func (FirebaseAuthIDToken) Email ¶
func (t FirebaseAuthIDToken) Email() (string, bool)
type FirebaseClient ¶
type FirebaseClient interface { VerifyIDToken(ctx context.Context, idToken string) (*FirebaseAuthIDToken, error) DeleteUser(ctx context.Context, uid string) error }
func NewFirebaseClient ¶
func NewFirebaseClient(ctx context.Context) (FirebaseClient, error)
Click to show internal directories.
Click to hide internal directories.