Documentation
¶
Index ¶
Constants ¶
View Source
const ( Auth0ClientId = "A4ONXSaOGstwwir0zUztoI6zjyt9zsRH" Auth0URL = "https://login.pinecone.io" Auth0Audience = "https://us-central1-production-console.cloudfunctions.net/api/v1" )
Variables ¶
This section is empty.
Functions ¶
func LogTokenClaims ¶
Types ¶
type DeviceAuth ¶
type DeviceAuth struct{}
func (*DeviceAuth) GetAuthResponse ¶
func (da *DeviceAuth) GetAuthResponse(ctx context.Context) (*oauth2.DeviceAuthResponse, error)
func (*DeviceAuth) GetDeviceAccessToken ¶
func (da *DeviceAuth) GetDeviceAccessToken(ctx context.Context, deviceAuthResponse *oauth2.DeviceAuthResponse) (*oauth2.Token, error)
type MyCustomClaims ¶
type MyCustomClaims struct { Scope string `json:"scope"` Email string `json:"https://pinecone.io/email"` jwt.RegisteredClaims }
func ParseClaimsUnverified ¶
func ParseClaimsUnverified(token *oauth2.Token) (*MyCustomClaims, error)
Click to show internal directories.
Click to hide internal directories.