ID Resolver¶
- class atproto_identity.resolver.AsyncIdResolver(plc_url: str | None = None, timeout: float | None = None, cache: AsyncDidBaseCache | None = None, backup_nameservers: List[str] | None = None)¶
Asynchronous Identity Resolver.
This resolver is used to resolve identities. DID and Handle identifies are supported.
Note
Default PLC directory URL is https://plc.directory. Default request timeout is 3 seconds.
- Parameters:
plc_url – PLC directory URL.
timeout – Request timeout.
cache – DID cache.
- property did: AsyncDidResolver¶
DID Resolver.
This resolver is used to resolve DIDs. PLC and Web DID methods are supported.
- property handle: AsyncHandleResolver¶
Handle Resolver.
This resolver is used to resolve handles.
- class atproto_identity.resolver.IdResolver(plc_url: str | None = None, timeout: float | None = None, cache: DidBaseCache | None = None, backup_nameservers: List[str] | None = None)¶
Identity Resolver.
This resolver is used to resolve identities. DID and Handle identifies are supported.
Note
Default PLC directory URL is https://plc.directory. Default request timeout is 3 seconds.
- Parameters:
plc_url – PLC directory URL.
timeout – Request timeout.
cache – DID cache.
- property did: DidResolver¶
DID Resolver.
This resolver is used to resolve DIDs. PLC and Web DID methods are supported.
- property handle: HandleResolver¶
Handle Resolver.
This resolver is used to resolve handles.