2015-03-30 19:30:27 +00:00
|
|
|
package providers
|
|
|
|
|
|
|
|
import (
|
|
|
|
"net/url"
|
|
|
|
)
|
|
|
|
|
|
|
|
type ProviderData struct {
|
2015-07-25 23:27:49 +00:00
|
|
|
ProviderName string
|
|
|
|
ClientID string
|
|
|
|
ClientSecret string
|
|
|
|
LoginUrl *url.URL
|
|
|
|
RedeemUrl *url.URL
|
|
|
|
ProfileUrl *url.URL
|
|
|
|
ValidateUrl *url.URL
|
|
|
|
Scope string
|
|
|
|
ApprovalPrompt string
|
2015-03-30 19:30:27 +00:00
|
|
|
}
|
|
|
|
|
|
|
|
func (p *ProviderData) Data() *ProviderData { return p }
|