firebase

package
v0.11.0 Latest Latest
Warning

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

Go to latest
Published: Jan 2, 2025 License: Apache-2.0 Imports: 6 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

This section is empty.

Types

type Service

type Service struct {
	// contains filtered or unexported fields
}

func New

func New(ctx context.Context, config *firebase.Config) (*Service, error)

func (*Service) BasicAuth

func (s *Service) BasicAuth(ctx context.Context, user string, password string) (*auth.Token, error)

func (*Service) ReissueIdentityToken added in v0.11.0

func (s *Service) ReissueIdentityToken(ctx context.Context, refreshToken string, subject string) (*auth.Token, error)

func (*Service) VerifyIdentity

func (s *Service) VerifyIdentity(ctx context.Context, idToken string) (*jwt.Claims, error)

Jump to

Keyboard shortcuts

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