Documentation ¶
Overview ¶
package tester should be used to test the different providers
Index ¶
- func CheckAll(checks ...func(*http.Request) (bool, error)) func(*http.Request) (bool, error)
- func CheckAssertion(assertionType, assertion string) func(req *http.Request) (bool, error)
- func CheckBasicAuth(username, password string) func(req *http.Request) (bool, error)
- func CheckFormValue(key, value string) func(req *http.Request) (bool, error)
- func StaticAssertion(assertionType, assertion string) gopenidclient.Assertion
- type ProviderTester
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
func CheckAssertion ¶
func CheckBasicAuth ¶
func StaticAssertion ¶
func StaticAssertion(assertionType, assertion string) gopenidclient.Assertion
Types ¶
type ProviderTester ¶
type ProviderTester struct {
// contains filtered or unexported fields
}
func (*ProviderTester) Check ¶
func (pt *ProviderTester) Check(t *testing.T, provider gopenidclient.Provider)
func (*ProviderTester) MatchInitialTokenExchange ¶
func (pt *ProviderTester) MatchInitialTokenExchange(req *http.Request) (bool, error)
Click to show internal directories.
Click to hide internal directories.