oauth2_proxy/providers/provider_data.go

21 lines
399 B
Go
Raw Normal View History

package providers
import (
"net/url"
)
type ProviderData struct {
2015-11-09 08:28:34 +00:00
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 }