Skip to content

Commit 5dada95

Browse files
committed
auth scheme rfc links
1 parent 3df0d24 commit 5dada95

File tree

1 file changed

+10
-10
lines changed

1 file changed

+10
-10
lines changed

src/auth/authentication_scheme.rs

Lines changed: 10 additions & 10 deletions
Original file line numberDiff line numberDiff line change
@@ -7,25 +7,25 @@ use crate::bail;
77
#[derive(Debug, PartialEq, Eq)]
88
#[non_exhaustive]
99
pub enum AuthenticationScheme {
10-
/// Basic auth
10+
/// [RFC7617](https://tools.ietf.org/html/rfc7617) Basic auth
1111
Basic,
12-
/// Bearer auth
12+
/// [RFC6750](https://tools.ietf.org/html/rfc6750) Bearer auth
1313
Bearer,
14-
/// Digest auth
14+
/// [RFC7616](https://tools.ietf.org/html/rfc7616) Digest auth
1515
Digest,
16-
/// HOBA
16+
/// [RFC7486](https://tools.ietf.org/html/rfc7486) HTTP Origin-Bound Authentication
1717
Hoba,
18-
/// Mutual auth
18+
/// [RFC8120](https://tools.ietf.org/html/rfc8120) Mutual auth
1919
Mutual,
20-
/// Negotiate auth
20+
/// [RFC4559](https://tools.ietf.org/html/rfc4559) Negotiate auth
2121
Negotiate,
22-
/// Oauth
22+
/// [RFC5849](https://tools.ietf.org/html/rfc5849) Oauth
2323
OAuth,
24-
/// SCRAM SHA1 auth
24+
/// [RFC7804](https://tools.ietf.org/html/rfc7804) SCRAM SHA1 auth
2525
ScramSha1,
26-
/// SCRAM SHA256 auth
26+
/// [RFC7804](https://tools.ietf.org/html/rfc7804) SCRAM SHA256 auth
2727
ScramSha256,
28-
/// Vapid auth
28+
/// [RFC8292](https://tools.ietf.org/html/rfc8292) Vapid auth
2929
Vapid,
3030
}
3131

0 commit comments

Comments
 (0)