Compare commits
1 Commits
chumsky-to
...
docs-crede
| Author | SHA1 | Date | |
|---|---|---|---|
|
|
5793a1b9a9 |
@@ -19,6 +19,9 @@ pub struct Credentials {
|
|||||||
|
|
||||||
impl Credentials {
|
impl Credentials {
|
||||||
/// Create a `Credentials` struct from username and password
|
/// Create a `Credentials` struct from username and password
|
||||||
|
///
|
||||||
|
/// When using [`Mechanism::Xoauth2`], `password` is the raw
|
||||||
|
/// bearer access token.
|
||||||
pub fn new(username: String, password: String) -> Credentials {
|
pub fn new(username: String, password: String) -> Credentials {
|
||||||
Credentials {
|
Credentials {
|
||||||
authentication_identity: username,
|
authentication_identity: username,
|
||||||
|
|||||||
Reference in New Issue
Block a user