Insert AuthGoogle in the manager

This commit is contained in:
Xavier Guimard 2013-09-28 05:10:37 +00:00
parent a731fbf66c
commit 81b1a958e0
2 changed files with 17 additions and 2 deletions

View File

@ -372,16 +372,17 @@ sub struct {
remote => ['remoteParams'],
proxy => ['proxyParams'],
openid => ['openIdParams'],
google => ['googleParams'],
twitter => ['twitterParams'],
dbi => ['dbiParams'],
apache => ['apacheParams'],
null => ['nullParams'],
slave => ['slaveParams'],
choice => [
qw(ldapParams sslParams casParams radiusParams remoteParams proxyParams openIdParams twitterParams dbiParams apacheParams nullParams choiceParams slaveParams yubikeyParams browserIdParams)
qw(ldapParams sslParams casParams radiusParams remoteParams proxyParams openIdParams googleParams twitterParams dbiParams apacheParams nullParams choiceParams slaveParams yubikeyParams browserIdParams)
],
multi => [
qw(ldapParams sslParams casParams radiusParams remoteParams proxyParams openIdParams twitterParams dbiParams apacheParams nullParams choiceParams slaveParams yubikeyParams browserIdParams)
qw(ldapParams sslParams casParams radiusParams remoteParams proxyParams openIdParams googleParams twitterParams dbiParams apacheParams nullParams choiceParams slaveParams yubikeyParams browserIdParams)
],
yubikey => ['yubikeyParams'],
browserid => ['browserIdParams'],
@ -550,6 +551,13 @@ sub struct {
'text:/openIdIDPList:authOpenID:openididplist',
},
# Google
googleParams => {
_nodes => [qw(googleAuthnLevel)],
_help => 'authGoogle',
googleAuthnLevel => 'int:/googleAuthnLevel',
},
# Twitter
twitterParams => {
_nodes => [
@ -1846,6 +1854,9 @@ m{^(?:ldapi://[^/]*/?|\w[\w\-\.]*(?::\d{1,5})?|ldap(?:s|\+tls)?://\w[\w\-\.]*(?:
openIdAuthnLevel => $integer,
openIdSecret => $testNotDefined,
# Google
googleAuthnLevel => $integer,
# Twitter
twitterAuthnLevel => $integer,
twitterKey => $testNotDefined,

View File

@ -147,6 +147,8 @@ sub en {
generalParameters => 'General Parameters',
globalStorage => 'Apache::Session module',
globalStorageOptions => 'Apache::Session module parameters',
googleAuthnLevel => 'Authentication level',
googleParams => 'Google parameters',
grantSessionRules => 'Opening conditions',
groups => 'Groups',
headers => 'HTTP Headers',
@ -611,6 +613,8 @@ sub fr {
generalParameters => 'Paramètres généraux',
globalStorage => 'Module Apache::Session',
globalStorageOptions => 'Paramètres du module Apache::Session',
googleAuthnLevel => 'Niveau d\'authentification',
googleParams => 'Paramètres Google',
grantSessionRules => "Conditions d'ouverture",
groups => 'Groupes',
headers => 'En-têtes HTTP',