Expand description
Simple interface to get your web application authenticated with the Internet Identity Service for Rust.
This crate is intended for use in front-end WebAssembly environments in conjunction with ic-agent.
Modules§
Structs§
- Auth
Client - The tool for managing authentication and identity. It maintains the state of the user’s identity and provides methods for authentication.
- Auth
Client Builder - Builder for the
AuthClient
. - Auth
Client Create Options - Options for creating a new
AuthClient
. - Auth
Client Login Options - Options for the
AuthClient::login_with_options
. - Auth
Client Login Options Builder - Builder for the
AuthClientLoginOptions
. - Auth
Response Success - Represents a successful authentication response.
- Idle
Options - Options for handling idle timeouts.
- Idle
Options Builder - Builder for
IdleOptions
.
Enums§
- Base
KeyType - Enum representing the type of base key used for the identity.
- Identity
Type - Enum representing the different types of identity to use as the base.
Constants§
- ERROR_
USER_ INTERRUPT - The error message when a user interrupts the authentication process.