oauth2_proxy/providers/provider_data.go
2016-01-20 03:57:17 -05:00

21 lines
399 B
Go

package providers
import (
"net/url"
)
type ProviderData struct {
ProviderName string
ClientID string
ClientSecret string
LoginURL *url.URL
RedeemURL *url.URL
ProfileURL *url.URL
ProtectedResource *url.URL
ValidateURL *url.URL
Scope string
ApprovalPrompt string
}
func (p *ProviderData) Data() *ProviderData { return p }