mirror of
https://github.com/Chocobozzz/PeerTube.git
synced 2025-10-04 18:29:27 +02:00
Add ability for auth plugins to hook tokens validity
This commit is contained in:
parent
e1c5503114
commit
e307e4fce3
16 changed files with 298 additions and 132 deletions
|
@ -1,9 +1,10 @@
|
|||
import { buildSignedActivity, ContextType } from '../../../../helpers/activitypub'
|
||||
import { buildSignedActivity } from '../../../../helpers/activitypub'
|
||||
import { ActorModel } from '../../../../models/activitypub/actor'
|
||||
import { ACTIVITY_PUB, HTTP_SIGNATURE } from '../../../../initializers/constants'
|
||||
import { MActor } from '../../../../typings/models'
|
||||
import { getServerActor } from '@server/models/application/application'
|
||||
import { buildDigest } from '@server/helpers/peertube-crypto'
|
||||
import { ContextType } from '@shared/models/activitypub/context'
|
||||
|
||||
type Payload = { body: any, contextType?: ContextType, signatureActorId?: number }
|
||||
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue