oauth2_proxy/providers/provider_data.go

20 lines
344 B
Go
Raw Normal View History

package providers
import (
"net/url"
)
type ProviderData struct {
ProviderName string
ClientID string
ClientSecret string
LoginUrl *url.URL
RedeemUrl *url.URL
ProfileUrl *url.URL
ValidateUrl *url.URL
Scope string
ApprovalPrompt string
}
func (p *ProviderData) Data() *ProviderData { return p }