pub struct Service<T>{ /* private fields */ }
Implementations§
Source§impl<T> Service<T>
impl<T> Service<T>
Sourcepub async fn get_recommended_did_credentials(&self) -> Result<Output, Error>
pub async fn get_recommended_did_credentials(&self) -> Result<Output, Error>
Describe the credentials that should be included in the DID doc of an account that is migrating to this service.
Sourcepub async fn refresh_identity(&self, input: Input) -> Result<Output, Error>
pub async fn refresh_identity(&self, input: Input) -> Result<Output, Error>
Request that the server re-resolve an identity (DID and handle). The server may ignore this request, or require authentication, depending on the role, implementation, and policy of the server.
Sourcepub async fn request_plc_operation_signature(&self) -> Result<(), Error>
pub async fn request_plc_operation_signature(&self) -> Result<(), Error>
Request an email with a code to in order to request a signed PLC operation. Requires Auth.
Sourcepub async fn resolve_did(&self, params: Parameters) -> Result<Output, Error>
pub async fn resolve_did(&self, params: Parameters) -> Result<Output, Error>
Resolves DID to DID document. Does not bi-directionally verify handle.
Sourcepub async fn resolve_handle(&self, params: Parameters) -> Result<Output, Error>
pub async fn resolve_handle(&self, params: Parameters) -> Result<Output, Error>
Resolves an atproto handle (hostname) to a DID. Does not necessarily bi-directionally verify against the the DID document.
Sourcepub async fn resolve_identity(
&self,
params: Parameters,
) -> Result<Output, Error>
pub async fn resolve_identity( &self, params: Parameters, ) -> Result<Output, Error>
Resolves an identity (DID or Handle) to a full identity (DID document and verified handle).
Sourcepub async fn sign_plc_operation(&self, input: Input) -> Result<Output, Error>
pub async fn sign_plc_operation(&self, input: Input) -> Result<Output, Error>
Signs a PLC operation to update some value(s) in the requesting DID’s document.