| Crates.io | ic_auth_types |
| lib.rs | ic_auth_types |
| version | 0.6.2 |
| created_at | 2025-03-11 08:59:21.152825+00 |
| updated_at | 2025-09-04 00:49:46.374599+00 |
| description | A Rust types library used for integrating with IC-Auth. |
| homepage | |
| repository | https://github.com/ldclabs/ic-auth/tree/main/src/ic_auth_types |
| max_upload_size | |
| id | 1587695 |
| size | 75,658 |
ic_auth_typesIC-Auth is a web authentication system based on the Internet Computer.
ic_auth_types is a Rust types library used for integrating with IC-Auth. It provides essential data structures and utilities for working with Internet Computer authentication.
ByteBufB64 and ByteArrayB64 types for efficient serialization and deserialization of binary data with automatic Base64URL encoding for human-readable formats.Xid type, a compact and lexicographically sortable globally unique identifier (12 bytes vs UUID's 16 bytes).CandidType for seamless integration with the Internet Computer.Add this to your Cargo.toml:
[dependencies]
ic_auth_types = "0.4"
Enables interoperability with the original xid crate:
[dependencies]
ic_auth_types = { version = "0.4", features = ["xid"] }
ic_auth_verifier: Provides verification functionality for IC-Auth signatures.Copyright © 2024-2025 LDC Labs.
ldclabs/ic-auth is licensed under the MIT License. See LICENSE for the full license text.