MCPcopy Create free account
hub / github.com/Preloading/TwitterAPIBridge / AuthToken

Struct AuthToken

bridge/bridge.go:443–452  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

441}
442
443type AuthToken struct {
444 *jwt.RegisteredClaims
445 Version int `json:"version"` // Version of the token
446 Platform string `json:"platform"` // What platform (bsky, mastodon, etc) was this token made on.
447 CryptoKey string `json:"crypto_key"` // An AES key used to make this mostly stateless.
448 DID string `json:"did"` // Bluesky user did
449 TokenUUID string `json:"token_uuid"` // The UUID of the token used to identify it.
450 ServerIdentifier string `json:"server_identifier"` // A way to identify the server that issued this token. Useful for any service that wants to use A Twitter Bridge.
451 ServerURLs []string `json:"server_urls"` // URLs to access that server
452}
453
454type TwitterLists struct {
455 XMLName xml.Name `xml:"lists" json:"-"`

Callers

nothing calls this directly

Calls

no outgoing calls

Tested by

no test coverage detected