@@ -36,33 +36,34 @@ public function addConfiguration(NodeDefinition $node)
36
36
$ builder
37
37
->scalarNode ('check_route ' )
38
38
->isRequired ()
39
- ->info ('Route that will validate the login link - e.g. app_login_link_verify ' )
39
+ ->info ('Route that will validate the login link - e.g. app_login_link_verify. ' )
40
40
->end ()
41
41
->arrayNode ('signature_properties ' )
42
+ ->isRequired ()
42
43
->prototype ('scalar ' )->end ()
43
44
->requiresAtLeastOneElement ()
44
- ->info ('An array of properties on your User that are used to sign the link. If any of these change, all existing links will become invalid ' )
45
+ ->info ('An array of properties on your User that are used to sign the link. If any of these change, all existing links will become invalid. ' )
45
46
->example (['email ' , 'password ' ])
46
47
->end ()
47
48
->integerNode ('lifetime ' )
48
49
->defaultValue (600 )
49
- ->info ('The lifetime of the login link in seconds ' )
50
+ ->info ('The lifetime of the login link in seconds. ' )
50
51
->end ()
51
52
->integerNode ('max_uses ' )
52
53
->defaultNull ()
53
54
->info ('Max number of times a login link can be used - null means unlimited within lifetime. ' )
54
55
->end ()
55
56
->scalarNode ('used_link_cache ' )
56
- ->info ('Cache service id used to expired links of max_uses is set ' )
57
+ ->info ('Cache service id used to expired links of max_uses is set. ' )
57
58
->end ()
58
59
->scalarNode ('success_handler ' )
59
- ->info (sprintf ('A service id that implements %s ' , AuthenticationSuccessHandlerInterface::class))
60
+ ->info (sprintf ('A service id that implements %s. ' , AuthenticationSuccessHandlerInterface::class))
60
61
->end ()
61
62
->scalarNode ('failure_handler ' )
62
- ->info (sprintf ('A service id that implements %s ' , AuthenticationFailureHandlerInterface::class))
63
+ ->info (sprintf ('A service id that implements %s. ' , AuthenticationFailureHandlerInterface::class))
63
64
->end ()
64
65
->scalarNode ('provider ' )
65
- ->info ('the user provider to load users from. ' )
66
+ ->info ('The user provider to load users from. ' )
66
67
->end ()
67
68
;
68
69
0 commit comments