Crate sn_api[][src]

Modules

Request module.

Response module.

Structs

It represents the authentication response.

Represents an authorisation request.

Represents a SafeUrl

A 256-bit number, viewed as a point in XOR space.

Enums

Error type returned by the API

Error type returned by the API

Authd Ipc errors.

IPC message.

IPC request.

IPC response.

Wrapper for different keypair types.

Wrapper for different public key types.

We encode the content type that a XOR-URL is targetting, this allows the consumer/user to treat the content in particular ways when the content requires it.

We also encode the native SAFE data type where the content is being stored on the SAFE Network, this allows us to fetch the targetted data using the corresponding API, regardless of the data that is being held which is identified by the SafeContentType instead.

An enumeration of possible SafeUrl types.

Wrapper for different secret key types.

Supported base encoding for XOR URLs

Constants

Default base encoding used for XOR URLs

Type tag to use for the NrsMapContainer stored on Sequence

Constant byte length of XorName.

Functions

Perform all derivations and seeding to deterministically obtain location and Keypair from input

Derive Passphrase, Password and Salt (in order).

Generates User’s Identity for the network using supplied credentials in a deterministic way. This is similar to the username in various places.

Type Definitions

QuicP2P bootstrap info, shared from Authenticator to apps.

Custom Result type for url crate.

The XOR-URL type