Crate ic_auth_client

Crate ic_auth_client 

Source
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§

delegation_chain
idle_manager
storage

Structs§

AuthClient
The tool for managing authentication and identity. It maintains the state of the user’s identity and provides methods for authentication.
AuthClientBuilder
Builder for the AuthClient.
AuthClientCreateOptions
Options for creating a new AuthClient.
AuthClientLoginOptions
Options for the AuthClient::login_with_options.
AuthClientLoginOptionsBuilder
Builder for the AuthClientLoginOptions.
AuthResponseSuccess
Represents a successful authentication response.
IdleOptions
Options for handling idle timeouts.
IdleOptionsBuilder
Builder for IdleOptions.

Enums§

BaseKeyType
Enum representing the type of base key used for the identity.
IdentityType
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.