~ knotless Search/
↑↓ move↵ open⇧↵ all results

peterullrich.com/hatk

AT Protocol app framework

Forked from chadtmiller.com/hatk

0
0
main
11 lines · 399 B Raw History
export class OAuthClient {
  constructor(opts: { server: string; clientId?: string; redirectUri?: string; scope?: string })
  init(): Promise<void>
  login(handle?: string): Promise<void>
  handleCallback(): Promise<boolean>
  logout(): Promise<void>
  fetch(path: string, opts?: RequestInit): Promise<Response>
  get isLoggedIn(): boolean
  get did(): string | null
  get handle(): string | null
}