Documentation
¶
Index ¶
- Constants
- func AmazonTraceIdGen() string
- func GenerateID() string
- func GenerateMessageID() string
- func SetHeader(inner http.RoundTripper, userAgent, xAmazonTraceId string) http.RoundTripper
- func SimpleHTTPCall(client http.Client, endpoint, httpMethod, authorizationValue string, ...) (*http.Response, error)
- func UserAgentGen() string
- type CodeVerifier
Constants ¶
View Source
const ( DefaultLength = 32 MinLength = 32 MaxLength = 96 )
Variables ¶
This section is empty.
Functions ¶
func AmazonTraceIdGen ¶ added in v0.13.0
func AmazonTraceIdGen() string
func GenerateMessageID ¶
func GenerateMessageID() string
func SetHeader ¶ added in v0.14.0
func SetHeader(inner http.RoundTripper, userAgent, xAmazonTraceId string) http.RoundTripper
func SimpleHTTPCall ¶ added in v0.14.0
func UserAgentGen ¶ added in v0.13.0
func UserAgentGen() string
Types ¶
type CodeVerifier ¶
type CodeVerifier struct {
Value string
}
func CreateCodeVerifier ¶
func CreateCodeVerifier() (*CodeVerifier, error)
func CreateCodeVerifierFromBytes ¶
func CreateCodeVerifierFromBytes(b []byte) (*CodeVerifier, error)
func CreateCodeVerifierWithLength ¶
func CreateCodeVerifierWithLength(length int) (*CodeVerifier, error)
func (*CodeVerifier) CodeChallengePlain ¶
func (v *CodeVerifier) CodeChallengePlain() string
func (*CodeVerifier) CodeChallengeS256 ¶
func (v *CodeVerifier) CodeChallengeS256() string
func (*CodeVerifier) String ¶
func (v *CodeVerifier) String() string
Source Files
¶
Click to show internal directories.
Click to hide internal directories.