Commit d715277
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 1a81492 commit d715277
1 file changed
Lines changed: 17 additions & 6 deletions
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
864 | 864 | | |
865 | 865 | | |
866 | 866 | | |
| 867 | + | |
| 868 | + | |
| 869 | + | |
| 870 | + | |
867 | 871 | | |
868 | 872 | | |
869 | | - | |
| 873 | + | |
870 | 874 | | |
871 | | - | |
872 | | - | |
| 875 | + | |
| 876 | + | |
873 | 877 | | |
874 | | - | |
875 | | - | |
| 878 | + | |
| 879 | + | |
| 880 | + | |
| 881 | + | |
| 882 | + | |
| 883 | + | |
| 884 | + | |
| 885 | + | |
| 886 | + | |
876 | 887 | | |
877 | | - | |
| 888 | + | |
878 | 889 | | |
879 | 890 | | |
880 | 891 | | |
| |||
0 commit comments