Documentation ¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
View Source
var ( DefaultBindAddress = ":8000" DefaultJWKSEndpoint = "" // use the audience DefaultProjectID = firestore.DetectProjectID )
config defaults
Functions ¶
This section is empty.
Types ¶
type Option ¶
type Option func(cfg *config)
An Option customizes the config.
func WithBindAddress ¶
WithBindAddress sets the bind address in the config.
func WithExpectedJWTAudience ¶
WithExpectedJWTAudience sets the expected JWT audience claim in the config. If set to the empty string, the audience claim will not be validated.
func WithExpectedJWTIssuer ¶
WithExpectedJWTIssuer sets the expected JWT issuer claim in the config. If set to the empty string, the issuer claim will not be validated.
func WithFirestoreProjectID ¶
WithFirestoreProjectID sets the firestore project id in the config.
func WithJWKSEndpoint ¶
WithJWKSEndpoint sets the jwks endpoint in the config.
Click to show internal directories.
Click to hide internal directories.