Documentation
¶
Overview ¶
Package mpptest builds and formats MPP Challenges and Credentials for tests, panicking where the mpp functions return an error.
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
func FormatChallenge ¶
FormatChallenge is mpp.FormatChallenge, panicking on error.
func FormatCredential ¶
func FormatCredential(credential *mpp.Credential) string
FormatCredential is mpp.FormatCredential, panicking on error.
func NewChallenge ¶
func NewChallenge(secretKey, realm, method, intent string, request map[string]any, opts ...mpp.ChallengeOption) *mpp.Challenge
NewChallenge is mpp.NewChallengeWithError, panicking on error.
Types ¶
This section is empty.
Click to show internal directories.
Click to hide internal directories.