Function
newOAuthAuthenticatorConfig
(
clientId string,
clientSecret string,
redirectUrl url.URL,
scopes string,
identityUri url.URL,
offlineAccess bool,
)
Source from the content-addressed store, hash-verified
| 12 | } |
| 13 | |
| 14 | func newOAuthAuthenticatorConfig( |
| 15 | clientId string, |
| 16 | clientSecret string, |
| 17 | redirectUrl url.URL, |
| 18 | scopes string, |
| 19 | identityUri url.URL, |
| 20 | offlineAccess bool, |
| 21 | ) *oauthAuthenticatorConfig { |
| 22 | return &oauthAuthenticatorConfig{clientId, clientSecret, redirectUrl, scopes, identityUri, offlineAccess} |
| 23 | } |
Tested by
no test coverage detected