nextcloud-auth
Authentication credentials and header providers for the Nextcloud Rust SDK.
Part of the nextcloud-rust-sdk workspace.
Installation
[]
= "0.1.1"
Features
BasicAuth: HTTP Basic authentication for app passwords and user credentials.BearerAuth: OAuth2 bearer token authentication.Anonymous: Anonymous access injecting mandatory Nextcloud OCS headers.SecretString: Zeroizing wrapper redacting secrets from debug logs.
Example
use ;
use AuthProvider;
let auth = new;
let mut headers = new;
auth.authenticate;
assert!;
License
GNU General Public License v3.0 or later (GPL-3.0-or-later).