33045a792b
By setting this to "force", certain providers, like Google, will interject an additional prompt on every new session. With other values, like "auto", this prompt is not forced upon the user.
20 lines
344 B
Go
20 lines
344 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
|
|
ApprovalPrompt string
|
|
}
|
|
|
|
func (p *ProviderData) Data() *ProviderData { return p }
|