AtOAuth

constructor(clientMetadataUrl: String, redirectUri: String, sessionStore: OAuthSessionStore, httpClient: HttpClient, json: Json = Json { ignoreUnknownKeys = true }, scope: String = "atproto transition:generic", onSessionPersistFailure: (Throwable) -> Unit = {}, pendingStore: PendingAuthStore = InMemoryPendingAuthStore(), nowMillis: () -> Long = { System.currentTimeMillis() })