Modules§
Structs§
- Auth
Granted - It represents the authentication response.
- AuthReq
- Represents an authorisation request.
- Authd
Status - Authed
App - Register
Address - Address of a Register, different from
a
ChunkAddress
in that it also includes a tag. - Safe
- Safe
Authd Client - Safe
Authenticator - SafeUrl
- Represents a
SafeUrl
- Section
Tree - Container for storing information about other sections in the network.
- Version
Hash - Version Hash corresponding to the entry hash where the content is stored
- XorName
- A 256-bit number, viewed as a point in XOR space.
Enums§
- Content
Type - 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.
- Data
Address - An address of data on the network
- Data
Type - 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
ContentType
instead. - Error
- Error type returned by the API
- IpcError
- Authd Ipc errors.
- IpcMsg
- IPC message.
- IpcReq
- IPC request.
- IpcResp
- IPC response.
- Keypair
- Wrapper for different keypair types.
- Public
Key - Wrapper for different public key types.
- Secret
Key - Wrapper for different secret key types.
- UrlType
- An enumeration of possible
SafeUrl
types. - XorUrl
Base - Supported base encoding for XOR URLs
Constants§
- DEFAULT_
NETWORK_ CONTACTS_ FILE_ NAME - Name of the default network contacts file the Client uses. The file is expected to be found at user’s OS home directory, e.g. in Linux this path would become: $HOME/.safe/network_contacts/default
- DEFAULT_
XORURL_ BASE
Functions§
- derive_
location_ and_ keypair - Perform all derivations and seeding to deterministically obtain location and Keypair from input
- derive_
secrets - Derive Passphrase, Password and Salt (in order).
- generate_
network_ address - Generates User’s Identity for the network using supplied credentials in a deterministic way. This is similar to the username in various places.