/
githubmirror
/
client
Обзор
Документация
Войти
/
githubmirror
/
client
Код
Запросы
0
Пакеты
0
Релизы
0
Аналитика
Безопасность
master
protocol/json/keybase1/identify.json
354 строки
7 KB
Miles Steele
remove unsupported default-values from protocol (#17441)
10 май 2019, 17:21
Не верифицирован
10 май 2019, 17:21
d816d09
Код
Авторство
О чём код?
{ "protocol": "identify", "imports": [ { "path": "common.avdl", "type": "idl" }, { "path": "identify_common.avdl", "type": "idl" } ], "types": [ { "type": "record", "name": "IdentifyProofBreak", "fields": [ { "type": "RemoteProof", "name": "remoteProof" }, { "type": "LinkCheckResult", "name": "lcr" } ] }, { "type": "record", "name": "IdentifyTrackBreaks", "fields": [ { "type": { "type": "array", "items": "IdentifyKey" }, "name": "keys" }, { "type": { "type": "array", "items": "IdentifyProofBreak" }, "name": "proofs" } ] }, { "type": "record", "name": "Identify2Res", "fields": [ { "type": "UserPlusKeys", "name": "upk" }, { "type": "Time", "name": "identifiedAt" }, { "type": [ null, "IdentifyTrackBreaks" ], "name": "trackBreaks" } ] }, { "type": "record", "name": "Identify2ResUPK2", "fields": [ { "type": "UserPlusKeysV2AllIncarnations", "name": "upk" }, { "type": "Time", "name": "identifiedAt" }, { "type": [ null, "IdentifyTrackBreaks" ], "name": "trackBreaks" } ], "lint": "ignore" }, { "type": "record", "name": "IdentifyLiteRes", "fields": [ { "type": "UserOrTeamLite", "name": "ul" }, { "type": [ null, "IdentifyTrackBreaks" ], "name": "trackBreaks" } ] }, { "type": "record", "name": "ResolveIdentifyImplicitTeamRes", "fields": [ { "type": "string", "name": "displayName" }, { "type": "TeamID", "name": "teamID" }, { "type": { "type": "array", "items": "UserVersion" }, "name": "writers" }, { "type": { "type": "map", "values": "IdentifyTrackBreaks", "keys": "UserVersion" }, "name": "trackBreaks" }, { "type": "TLFID", "name": "folderID" } ] } ], "messages": { "Resolve3": { "request": [ { "name": "assertion", "type": "string" }, { "name": "oa", "type": "OfflineAvailability" } ], "response": "UserOrTeamLite", "doc": "Resolve an assertion to a (UID,username) or (TeamID,teamname). On failure, returns an error.", "lint": "ignore" }, "identify2": { "request": [ { "name": "sessionID", "type": "int" }, { "name": "uid", "type": "UID" }, { "name": "userAssertion", "type": "string" }, { "name": "reason", "type": "IdentifyReason" }, { "name": "useDelegateUI", "type": "boolean" }, { "name": "alwaysBlock", "type": "boolean" }, { "name": "noErrorOnTrackFailure", "type": "boolean" }, { "name": "forceRemoteCheck", "type": "boolean" }, { "name": "needProofSet", "type": "boolean" }, { "name": "allowEmptySelfID", "type": "boolean" }, { "name": "noSkipSelf", "type": "boolean" }, { "name": "canSuppressUI", "type": "boolean" }, { "name": "identifyBehavior", "type": "TLFIdentifyBehavior" }, { "name": "forceDisplay", "type": "boolean" }, { "name": "actLoggedOut", "type": "boolean" } ], "response": "Identify2Res" }, "identifyLite": { "request": [ { "name": "sessionID", "type": "int" }, { "name": "id", "type": "UserOrTeamID" }, { "name": "assertion", "type": "string" }, { "name": "reason", "type": "IdentifyReason" }, { "name": "useDelegateUI", "type": "boolean" }, { "name": "alwaysBlock", "type": "boolean" }, { "name": "noErrorOnTrackFailure", "type": "boolean" }, { "name": "forceRemoteCheck", "type": "boolean" }, { "name": "needProofSet", "type": "boolean" }, { "name": "allowEmptySelfID", "type": "boolean" }, { "name": "noSkipSelf", "type": "boolean" }, { "name": "canSuppressUI", "type": "boolean" }, { "name": "identifyBehavior", "type": "TLFIdentifyBehavior" }, { "name": "forceDisplay", "type": "boolean" }, { "name": "oa", "type": "OfflineAvailability" } ], "response": "IdentifyLiteRes" }, "resolveIdentifyImplicitTeam": { "request": [ { "name": "sessionID", "type": "int" }, { "name": "assertions", "type": "string" }, { "name": "suffix", "type": "string" }, { "name": "isPublic", "type": "boolean" }, { "name": "doIdentifies", "type": "boolean" }, { "name": "create", "type": "boolean" }, { "name": "reason", "type": "IdentifyReason" }, { "name": "identifyBehavior", "type": "TLFIdentifyBehavior" }, { "name": "oa", "type": "OfflineAvailability" } ], "response": "ResolveIdentifyImplicitTeamRes" }, "resolveImplicitTeam": { "request": [ { "name": "sessionID", "type": "int" }, { "name": "id", "type": "TeamID" } ], "response": "Folder", "doc": "resolveImplicitTeam returns a TLF display name given a teamID. The publicness\n of the team is inferred from the TeamID." }, "normalizeSocialAssertion": { "request": [ { "name": "assertion", "type": "string" } ], "response": "SocialAssertion" } }, "namespace": "keybase.1" }