atprotoPdsEndpoint property
String?
get
atprotoPdsEndpoint
Returns PDS endpoint like porcini.us-east.host.bsky.network dynamically
based on this Session.
The authority (host and, when explicitly specified, port) of the
#atproto_pds service endpoint in didDoc is returned. If didDoc
is missing, malformed, or has no #atproto_pds service, the aud
claim of accessJwt is used as a fallback. Returns null only when
neither source yields an endpoint.
Implementation
String? get atprotoPdsEndpoint => _didDocPdsEndpoint ?? _accessJwtPdsEndpoint;