Documentation ¶
Index ¶
- Variables
- func NewHTTPHandlerFunc(timeout time.Duration) func(w http.ResponseWriter, r *http.Request)
- type Claims
- func (c Claims) Birthdate() string
- func (c Claims) Email() string
- func (c Claims) EmailVerified() bool
- func (c Claims) FamilyName() string
- func (c Claims) Gender() string
- func (c Claims) GivenName() string
- func (c Claims) Locale() string
- func (c Claims) MiddleName() string
- func (c Claims) Name() string
- func (c Claims) Nickname() string
- func (c Claims) PhoneNumber() string
- func (c Claims) PhoneNumberVerified() bool
- func (c Claims) Picture() string
- func (c Claims) PreferredUsername() string
- func (c Claims) Profile() string
- func (c Claims) Sub() string
- func (c Claims) UpdatedAt() float64
- func (c *Claims) Valid() error
- func (c Claims) Website() string
- func (c Claims) Zoneinfo() string
Constants ¶
This section is empty.
Variables ¶
View Source
var RetryPolicy = retry.Policy{ MinDelay: 500 * time.Millisecond, MaxDelay: 3 * time.Second, MaxCount: 10, }
RetryPolicy represents a policy for retrying http request to key URL.
Functions ¶
func NewHTTPHandlerFunc ¶ added in v0.0.1
NewHTTPHandlerFunc creates http handler func with timeout
Types ¶
type Claims ¶
type Claims map[string]interface{}
func ValidateWithContext ¶
ValidateWithContext validates x-amzn-oidc-data as JWT with context
func (Claims) EmailVerified ¶
func (Claims) FamilyName ¶
func (Claims) MiddleName ¶
func (Claims) PhoneNumber ¶
func (Claims) PhoneNumberVerified ¶
func (Claims) PreferredUsername ¶
Click to show internal directories.
Click to hide internal directories.