Commit 7ad42ef
committed
Do not require positional args for
This API is a little bit confusing, IMO. But it does preserve backward
compatibility, while allowing authenticators that don't allow positional
parameters to work without crashing. But, authenticators that require
only one parameter—or more than three—will still be inaccessible.#authenticate
1 parent dcb8f31 commit 7ad42ef
1 file changed
Lines changed: 11 additions & 3 deletions
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
862 | 862 | | |
863 | 863 | | |
864 | 864 | | |
| 865 | + | |
| 866 | + | |
865 | 867 | | |
866 | 868 | | |
867 | 869 | | |
| |||
872 | 874 | | |
873 | 875 | | |
874 | 876 | | |
875 | | - | |
| 877 | + | |
| 878 | + | |
| 879 | + | |
| 880 | + | |
| 881 | + | |
| 882 | + | |
| 883 | + | |
876 | 884 | | |
877 | | - | |
| 885 | + | |
878 | 886 | | |
879 | | - | |
| 887 | + | |
880 | 888 | | |
881 | 889 | | |
882 | 890 | | |
| |||
0 commit comments