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
|
2015-11-08 23:47:44 +00:00
|
|
|
LoginURL *url.URL
|
|
|
|
RedeemURL *url.URL
|
|
|
|
ProfileURL *url.URL
|
|
|
|
ValidateURL *url.URL
|
2015-07-25 23:27:49 +00:00
|
|
|
Scope string
|
|
|
|
ApprovalPrompt string
|
2015-03-30 19:30:27 +00:00
|
|
|
}
|
|
|
|
|
|
|
|
func (p *ProviderData) Data() *ProviderData { return p }
|