com
com| 名前 |
|---|
| ▶︎ example |
example
com.example| 名前 |
|---|
| ▶︎ sms |
sms
com.example.sms| 名前 |
|---|
| ▶︎ サービス層 |
サービス層
com.example.sms.service| 名前 |
|---|
| ▶︎ system |
system
com.example.sms.service.system| 名前 |
|---|
| ▶︎ user |
| ▶︎ auth |
auth
com.example.sms.service.system.auth| 名前 |
|---|
| 認証サービス |
| 認証APIサービス |
user
com.example.sms.service.system.user| 名前 |
|---|
| ユーザー管理サービス |
認証APIサービス
com.example.sms.service.system.auth.AuthApiService
| フィールド | フィールド型 |
|---|---|
| authRepository | 認証リポジトリ |
| メソッド | 引数 | 戻り値型 | 説明 |
|---|---|---|---|
| + ユーザーJWT認証 | StringStringAuthentication | String | |
| + JWTトークンからユーザー名の取得 | String | String | |
| + JWTトークンの取得 | String | boolean | |
| + JWTトークンの検証 | String | boolean |
認証サービス
com.example.sms.service.system.auth.AuthService
| フィールド | フィールド型 |
|---|---|
| authRepository | 認証リポジトリ |
| メソッド | 引数 | 戻り値型 | 説明 |
|---|---|---|---|
| + ユーザー認証 | String | UserDetails |
ユーザー管理サービス
com.example.sms.service.system.user.UserManagementService
| フィールド | フィールド型 |
|---|---|
| userRepository | ユーザーレポジトリ |
| メソッド | 引数 | 戻り値型 | 説明 |
|---|---|---|---|
| + ユーザー削除 | ユーザーID | void | |
| + ユーザー検索 | ユーザーID | ユーザー | |
| + ユーザー新規登録 | ユーザー | void | |
| + ユーザー情報編集 | ユーザー | void | |
| + ユーザー一覧 | ユーザー一覧 | ||
| + ユーザー一覧(ページング) | PageInfo<ユーザー> |