feat: basic oauth
This commit is contained in:
parent
72b13f5265
commit
7ab17001f0
16 changed files with 199 additions and 106 deletions
17
types/index.ts
Normal file
17
types/index.ts
Normal file
|
@ -0,0 +1,17 @@
|
|||
import type { AccountCredentials } from 'masto'
|
||||
|
||||
export interface AppInfo {
|
||||
id: string
|
||||
name: string
|
||||
website: string | null
|
||||
redirect_uri: string
|
||||
client_id: string
|
||||
client_secret: string
|
||||
vapid_key: string
|
||||
}
|
||||
|
||||
export interface UserLogin {
|
||||
server: string
|
||||
token: string
|
||||
account?: AccountCredentials
|
||||
}
|
Loading…
Add table
Add a link
Reference in a new issue