OzoneTool class sealed

Provides tools.ozone.* services.

Constructors

OzoneTool.fromAtproto(ATProto atproto, {String? ozoneDid})
Returns a new OzoneTool that drives every tools.ozone.* service from the context atproto already owns — see atp.ATProto.ctx.
factory
OzoneTool.fromOAuth(OAuthSessionManager manager, {String? ozoneDid, Map<String, String>? headers, Protocol? protocol, String? service, String? relayService, Duration? timeout, RetryStrategy? retryConfig, GetClient? getClient, PostClient? postClient})
Returns a new OzoneTool backed by an OAuth manager, which owns DPoP header building and transparent token refresh.
factory
OzoneTool.fromOAuthSession(OAuthSession session, {OAuthClient? oauthClient, String? ozoneDid, Map<String, String>? headers, Protocol? protocol, String? service, String? relayService, Duration? timeout, RetryStrategy? retryConfig, GetClient? getClient, PostClient? postClient})
Returns the new instance of OzoneTool.
factory
OzoneTool.fromSession(Session session, {String? ozoneDid, Map<String, String>? headers, Protocol? protocol, String? service, String? relayService, Duration? timeout, RetryStrategy? retryConfig, GetClient? getClient, PostClient? postClient})
Returns the new instance of OzoneTool.
factory

Properties

actorDid → String?
Returns the DID of the authenticated actor, regardless of how this instance was authenticated. Null when this instance is anonymous.
no setter
atproto → ATProto
Returns atproto features.
no setter
communication → CommunicationService
Returns the communication service. This service represents tools.ozone.communication.*.
no setter
hashCode → int
The hash code for this object.
no setterinherited
headers → Map<String, String>
Returns the global headers without auth header.
no setter
hosting → HostingService
Returns the hosting service. This service represents tools.ozone.hosting.*.
no setter
moderation → ModerationService
Returns the moderation service. This service represents tools.ozone.moderation.*.
no setter
oAuthSessionManager → OAuthSessionManager?
Returns the current OAuth session manager.
no setter
onSessionUpdated → Stream<Session>
Emits the refreshed session every time an expired access token is renewed, so the owner of the credentials can re-persist them.
no setter
relayService → String
Returns the current relay service. Defaults to bsky.network.
no setter
runtimeType → Type
A representation of the runtime type of the object.
no setterinherited
Returns the safelink service. This service represents tools.ozone.safelink.*.
no setter
server → ServerService
Returns the server service. This service represents tools.ozone.server.*.
no setter
service → String
Returns the current service. Defaults to bsky.social.
no setter
session → Session?
Returns the current session.
no setter
set → SetService
Returns the set service. This service represents tools.ozone.set.*.
no setter
setting → SettingService
Returns the setting service. This service represents tools.ozone.setting.*.
no setter
signature → SignatureService
Returns the signature service. This service represents tools.ozone.signature.*.
no setter
team → TeamService
Returns the team service. This service represents tools.ozone.team.*.
no setter
verification → VerificationService
Returns the verification service. This service represents tools.ozone.verification.*.
no setter

Methods

noSuchMethod(Invocation invocation) → dynamic
Invoked when a nonexistent method or property is accessed.
inherited
toString() → String
A string representation of this object.
inherited

Operators

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