summaryrefslogtreecommitdiffstats
path: root/vendor/github.com/yohcop/openid-go/openid.go
blob: 5878a478e9c609b9bad5f5c974eff7655e692a76 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
package openid

import (
	"net/http"
)

type OpenID struct {
	urlGetter httpGetter
}

func NewOpenID(client *http.Client) *OpenID {
	return &OpenID{urlGetter: &defaultGetter{client: client}}
}

var defaultInstance = NewOpenID(http.DefaultClient)