authentication

package
v0.0.0-...-8495beb Latest Latest
Warning

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

Go to latest
Published: Sep 20, 2022 License: MPL-2.0 Imports: 6 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

View Source
var ErrNoAccountInContext = errors.New("no account in context")

Functions

func Build

func Build() fx.Option

func GetAccountID

func GetAccountID(ctx context.Context) (account.AccountID, error)

GetAccountID pulls out an account ID associated with the call.

func WithAccountID

func WithAccountID(ctx context.Context, u account.AccountID) context.Context

WithAccountID stores the ID of the account making the request.

Types

This section is empty.

Directories

Path Synopsis
oauth/all
Package all contains things that are common amongst all providers.
Package all contains things that are common amongst all providers.

Jump to

Keyboard shortcuts

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