mirror of
https://github.com/oauth2-proxy/oauth2-proxy.git
synced 2024-12-14 11:23:21 +02:00
19 lines
305 B
Go
19 lines
305 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
|
|
ValidateUrl *url.URL
|
|
Scope string
|
|
}
|
|
|
|
func (p *ProviderData) Data() *ProviderData { return p }
|