func (p *Provider) SetHostedDomain(hd string) {
	if hd == "" {
		return
	}
	p.authCodeOptions = append(p.authCodeOptions, oauth2.SetAuthURLParam("hd", hd))
}
// SetHostedDomain sets the hd parameter for google OAuth call.
// Use this to force user to pick user from specific hosted domain.
// See https://developers.google.com/identity/protocols/oauth2/openid-connect#hd-param
SetHostedDomain sets the hd parameter for google OAuth call.
Use this to force user to pick user from specific hosted domain.
// SetHostedDomain sets the hd parameter for google OAuth call . // Use this to force user to pick user from specific hosted domain . // See https : // developers . google . com / identity / protocols / oauth2 / openid - connect#hd - param
func (p *Provider) SetHostedDomain(hd string) {
	if hd == "" {
		return
	}
	p.authCodeOptions = append(p.authCodeOptions, oauth2.SetAuthURLParam("hd", hd))
}
func ( p * Provider ) SetHostedDomain ( hd string ) { if hd == " " { return } p . authCodeOptions = append ( p . authCodeOptions , oauth2 . SetAuthURLParam ( " " , hd ) ) }
SetHostedDomain sets the hd parameter for google OAuth call.
SetHostedDomain sets the hd parameter for google OAuth call .