Commit d4c82e7
committed
fix: don't assume that credential providers always return credentials or error during handshake.
The type-system allows this even though when getting credentials this should never happen and won't
in the default implementation. However, users can of course return nothing and provide no error which
is when we have to create one, instead of panicking.1 parent 87f5621 commit d4c82e7
2 files changed
+3
-1
lines changed| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
46 | 46 | | |
47 | 47 | | |
48 | 48 | | |
49 | | - | |
| 49 | + | |
50 | 50 | | |
51 | 51 | | |
52 | 52 | | |
| |||
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
68 | 68 | | |
69 | 69 | | |
70 | 70 | | |
| 71 | + | |
| 72 | + | |
71 | 73 | | |
72 | 74 | | |
73 | 75 | | |
| |||
0 commit comments