package
0.0.0-20220605152432-94a378caef22
Repository: https://github.com/coderlane/minecraft-sidecart.git
Documentation: pkg.go.dev

# Functions

NewOAuthConfig creates a new `oauth.Config` for the provided `AuthProvider` based on the built in auth provider configs.
WithEmulatorHost specifies the authentication emulator host to use in testing.
WithUserCache provides a user cache for the authentication client.

# Constants

DefaultUser represents the default user to be loaded and stored in the `UserCache`.
GoogleAuthProvider provides support for authenticating with Google.

# Variables

DefaultApp is the default, built in, firebase application.

# Structs

App represents a firebase application.
Auth handles authenticating users.
User contains details of a user from Firebase.

# Interfaces

AuthOption is a generic interface used to apply options when creating a new authentication client.
UserCache provides an interface for caching authenticated users and their `RefreshToken`.

# Type aliases

AuthProvider is an enumeration of supported authentication providers.
MemoryUserCache implements the `UserCache` interface with an in-memory map.