summaryrefslogtreecommitdiff
path: root/src/server/api/endpoints/auth
diff options
context:
space:
mode:
authorsyuilo <Syuilotan@yahoo.co.jp>2021-06-10 14:03:28 +0900
committersyuilo <Syuilotan@yahoo.co.jp>2021-06-10 14:03:28 +0900
commitd04014f875a03ae9b8f0f36338fd2446e7eb3150 (patch)
tree447ab37a76486c9ec2ad5985e86c1f325b61f73c /src/server/api/endpoints/auth
parentMerge branch 'develop' (diff)
parent12.83.0 (diff)
downloadmisskey-d04014f875a03ae9b8f0f36338fd2446e7eb3150.tar.gz
misskey-d04014f875a03ae9b8f0f36338fd2446e7eb3150.tar.bz2
misskey-d04014f875a03ae9b8f0f36338fd2446e7eb3150.zip
Merge branch 'develop'
Diffstat (limited to 'src/server/api/endpoints/auth')
-rw-r--r--src/server/api/endpoints/auth/session/generate.ts11
-rw-r--r--src/server/api/endpoints/auth/session/show.ts4
-rw-r--r--src/server/api/endpoints/auth/session/userkey.ts10
3 files changed, 0 insertions, 25 deletions
diff --git a/src/server/api/endpoints/auth/session/generate.ts b/src/server/api/endpoints/auth/session/generate.ts
index e0d003c499..42f9e25c78 100644
--- a/src/server/api/endpoints/auth/session/generate.ts
+++ b/src/server/api/endpoints/auth/session/generate.ts
@@ -11,18 +11,9 @@ export const meta = {
requireCredential: false as const,
- desc: {
- 'ja-JP': 'アプリを認証するためのトークンを作成します。',
- 'en-US': 'Generate a token for authorize application.'
- },
-
params: {
appSecret: {
validator: $.str,
- desc: {
- 'ja-JP': 'アプリケーションのシークレットキー',
- 'en-US': 'The secret key of your application.'
- }
}
},
@@ -33,13 +24,11 @@ export const meta = {
token: {
type: 'string' as const,
optional: false as const, nullable: false as const,
- description: 'セッションのトークン'
},
url: {
type: 'string' as const,
optional: false as const, nullable: false as const,
format: 'url',
- description: 'セッションのURL'
},
}
},
diff --git a/src/server/api/endpoints/auth/session/show.ts b/src/server/api/endpoints/auth/session/show.ts
index 9e0d6d90a4..fd20884c02 100644
--- a/src/server/api/endpoints/auth/session/show.ts
+++ b/src/server/api/endpoints/auth/session/show.ts
@@ -11,10 +11,6 @@ export const meta = {
params: {
token: {
validator: $.str,
- desc: {
- 'ja-JP': 'セッションのトークン',
- 'en-US': 'The token of a session.'
- }
}
},
diff --git a/src/server/api/endpoints/auth/session/userkey.ts b/src/server/api/endpoints/auth/session/userkey.ts
index 68d0c7bdf1..7059aacbea 100644
--- a/src/server/api/endpoints/auth/session/userkey.ts
+++ b/src/server/api/endpoints/auth/session/userkey.ts
@@ -11,18 +11,10 @@ export const meta = {
params: {
appSecret: {
validator: $.str,
- desc: {
- 'ja-JP': 'アプリケーションのシークレットキー',
- 'en-US': 'The secret key of your application.'
- }
},
token: {
validator: $.str,
- desc: {
- 'ja-JP': 'セッションのトークン',
- 'en-US': 'The token of a session.'
- }
}
},
@@ -33,14 +25,12 @@ export const meta = {
accessToken: {
type: 'string' as const,
optional: false as const, nullable: false as const,
- description: 'ユーザーのアクセストークン',
},
user: {
type: 'object' as const,
optional: false as const, nullable: false as const,
ref: 'User',
- description: '認証したユーザー'
},
}
},