From 16fe9919bdbd098a51fb6533d27d966d365b485f Mon Sep 17 00:00:00 2001 From: realaravinth Date: Sat, 10 Apr 2021 15:45:15 +0000 Subject: [PATCH] =?UTF-8?q?Deploying=20to=20gh-pages=20from=20=20@=20884cb?= =?UTF-8?q?25e022c3aedf11e164288fed4a842d18ca4=20=F0=9F=9A=80?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- guard/all.html | 2 +- guard/api/v1/auth/fn.add_user_helper.html | 5 ++ guard/api/v1/auth/fn.is_authenticated.html | 2 +- guard/api/v1/auth/index.html | 4 +- guard/api/v1/auth/sidebar-items.js | 2 +- .../v1/auth/struct.AccountCheckPayload.html | 10 +-- .../api/v1/auth/struct.AccountCheckResp.html | 10 +-- guard/api/v1/auth/struct.Login.html | 10 +-- guard/api/v1/auth/struct.Password.html | 10 +-- guard/api/v1/auth/struct.Register.html | 10 +-- guard/api/v1/auth/struct.delete_account.html | 2 +- guard/api/v1/auth/struct.email_exists.html | 2 +- guard/api/v1/auth/struct.signin.html | 2 +- guard/api/v1/auth/struct.signout.html | 2 +- guard/api/v1/auth/struct.signup.html | 2 +- guard/api/v1/auth/struct.username_exists.html | 2 +- guard/errors/fn.dup_error.html | 2 +- guard/errors/index.html | 2 +- guard/errors/type.ServiceResult.html | 2 +- search-index.js | 2 +- src/guard/api/v1/auth.rs.html | 90 +++++++++++++++++-- src/guard/errors.rs.html | 4 + 22 files changed, 130 insertions(+), 49 deletions(-) create mode 100644 guard/api/v1/auth/fn.add_user_helper.html diff --git a/guard/all.html b/guard/all.html index c8a5c6da..d6e4bf24 100644 --- a/guard/all.html +++ b/guard/all.html @@ -3,5 +3,5 @@

List of all items[] -

Structs

Enums

Functions

Typedefs

Statics

Constants

+

Structs

Enums

Functions

Typedefs

Statics

Constants

\ No newline at end of file diff --git a/guard/api/v1/auth/fn.add_user_helper.html b/guard/api/v1/auth/fn.add_user_helper.html new file mode 100644 index 00000000..3e82c2c8 --- /dev/null +++ b/guard/api/v1/auth/fn.add_user_helper.html @@ -0,0 +1,5 @@ +guard::api::v1::auth::add_user_helper - Rust + +

Function guard::api::v1::auth::add_user_helper[][src]

pub async fn add_user_helper(
    username: &str,
    hash: &str,
    email: &str,
    secret: &str,
    data: &Data
) -> Result<(), Error>
+ \ No newline at end of file diff --git a/guard/api/v1/auth/fn.is_authenticated.html b/guard/api/v1/auth/fn.is_authenticated.html index f00d5cdf..56cd7792 100644 --- a/guard/api/v1/auth/fn.is_authenticated.html +++ b/guard/api/v1/auth/fn.is_authenticated.html @@ -1,6 +1,6 @@ guard::api::v1::auth::is_authenticated - Rust

Function guard::api::v1::auth::is_authenticated[][src]

pub fn is_authenticated(id: &Identity) -> Result<(), ServiceError>

Check if user is authenticated

+ Change settings

Function guard::api::v1::auth::is_authenticated[][src]

pub fn is_authenticated(id: &Identity) -> Result<(), ServiceError>

Check if user is authenticated

\ No newline at end of file diff --git a/guard/api/v1/auth/index.html b/guard/api/v1/auth/index.html index aa62b1a8..b29ff958 100644 --- a/guard/api/v1/auth/index.html +++ b/guard/api/v1/auth/index.html @@ -1,8 +1,8 @@ guard::api::v1::auth - Rust

Module guard::api::v1::auth[][src]

Structs

+ Change settings

Module guard::api::v1::auth[][src]

Structs

AccountCheckPayload
AccountCheckResp
Login
Password
Register
delete_account
email_exists
signin
signout
signup
username_exists

Functions

-
is_authenticated

Check if user is authenticated

+
add_user_helper
is_authenticated

Check if user is authenticated

\ No newline at end of file diff --git a/guard/api/v1/auth/sidebar-items.js b/guard/api/v1/auth/sidebar-items.js index 6992b2b3..76ed6f26 100644 --- a/guard/api/v1/auth/sidebar-items.js +++ b/guard/api/v1/auth/sidebar-items.js @@ -1 +1 @@ -initSidebarItems({"fn":[["is_authenticated","Check if user is authenticated"]],"struct":[["AccountCheckPayload",""],["AccountCheckResp",""],["Login",""],["Password",""],["Register",""],["delete_account",""],["email_exists",""],["signin",""],["signout",""],["signup",""],["username_exists",""]]}); \ No newline at end of file +initSidebarItems({"fn":[["add_user_helper",""],["is_authenticated","Check if user is authenticated"]],"struct":[["AccountCheckPayload",""],["AccountCheckResp",""],["Login",""],["Password",""],["Register",""],["delete_account",""],["email_exists",""],["signin",""],["signout",""],["signup",""],["username_exists",""]]}); \ No newline at end of file diff --git a/guard/api/v1/auth/struct.AccountCheckPayload.html b/guard/api/v1/auth/struct.AccountCheckPayload.html index 4f1d2cc2..2b57261d 100644 --- a/guard/api/v1/auth/struct.AccountCheckPayload.html +++ b/guard/api/v1/auth/struct.AccountCheckPayload.html @@ -1,14 +1,14 @@ guard::api::v1::auth::AccountCheckPayload - Rust

Struct guard::api::v1::auth::AccountCheckPayload[][src]

pub struct AccountCheckPayload {
+                Change settings

Struct guard::api::v1::auth::AccountCheckPayload[][src]

pub struct AccountCheckPayload {
     pub val: String,
 }

- Fields

val: String

Trait Implementations

impl Clone for AccountCheckPayload[src]