IdentityService class base

com.atproto.identity.*

Constructors

IdentityService.new(ServiceContext _ctx)

Properties

hashCode int
The hash code for this object.
no setterinherited
runtimeType Type
A representation of the runtime type of the object.
no setterinherited

Methods

getRecommendedDidCredentials({Map<String, String>? $headers, Map<String, String>? $unknown}) Future<XRPCResponse<IdentityGetRecommendedDidCredentialsOutput>>
Describe the credentials that should be included in the DID doc of an account that is migrating to this service.
noSuchMethod(Invocation invocation) → dynamic
Invoked when a nonexistent method or property is accessed.
inherited
refreshIdentity({required String identifier, Map<String, String>? $headers, Map<String, String>? $unknown}) Future<XRPCResponse<IdentityInfo>>
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.
requestPlcOperationSignature({Map<String, String>? $headers}) Future<XRPCResponse<EmptyData>>
Request an email with a code to in order to request a signed PLC operation. Requires Auth.
resolveDid({required String did, Map<String, String>? $headers, Map<String, String>? $unknown}) Future<XRPCResponse<IdentityResolveDidOutput>>
Resolves DID to DID document. Does not bi-directionally verify handle.
resolveHandle({required String handle, Map<String, String>? $headers, Map<String, String>? $unknown}) Future<XRPCResponse<IdentityResolveHandleOutput>>
Resolves an atproto handle (hostname) to a DID. Does not necessarily bi-directionally verify against the the DID document.
resolveIdentity({required String identifier, Map<String, String>? $headers, Map<String, String>? $unknown}) Future<XRPCResponse<IdentityInfo>>
Resolves an identity (DID or Handle) to a full identity (DID document and verified handle).
signPlcOperation({String? token, List<String>? rotationKeys, List<String>? alsoKnownAs, Map<String, dynamic>? verificationMethods, Map<String, dynamic>? services, Map<String, String>? $headers, Map<String, String>? $unknown}) Future<XRPCResponse<IdentitySignPlcOperationOutput>>
Signs a PLC operation to update some value(s) in the requesting DID's document.
submitPlcOperation({required Map<String, dynamic> operation, Map<String, String>? $headers, Map<String, String>? $unknown}) Future<XRPCResponse<EmptyData>>
Validates a PLC operation to ensure that it doesn't violate a service's constraints or get the identity into a bad state, then submits it to the PLC registry
toString() String
A string representation of this object.
inherited
updateHandle({required String handle, Map<String, String>? $headers, Map<String, String>? $unknown}) Future<XRPCResponse<EmptyData>>
Updates the current account's handle. Verifies handle validity, and updates did:plc document if necessary. Implemented by PDS, and requires auth.

Operators

operator ==(Object other) bool
The equality operator.
inherited