Documentation
¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
func LogTokenClaims ¶
Types ¶
type DeviceAuth ¶
type DeviceAuth struct{}
func (*DeviceAuth) GetAuthResponse ¶
func (da *DeviceAuth) GetAuthResponse(ctx context.Context, orgId *string) (*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"` OrgId string `json:"https://pinecone.io/orgId"` jwt.RegisteredClaims }
func ParseClaimsUnverified ¶
func ParseClaimsUnverified(token *oauth2.Token) (*MyCustomClaims, error)
Click to show internal directories.
Click to hide internal directories.