# Resource

## OAuth 2.0 Client + Resource Server + Authorization Server 연동

## 리소스 서버 모듈

### 리소스 서버 - Photo

#### application.yml

![img\_6.png](https://2900387690-files.gitbook.io/~/files/v0/b/gitbook-x-prod.appspot.com/o/spaces%2FOjEy54f4ToLNl5n9gmZs%2Fuploads%2Fgit-blob-9370833df410cf65193ef435116490dddeeb5977%2Fimg_6.png?alt=media)

#### SecurityConfig

![img\_7.png](https://2900387690-files.gitbook.io/~/files/v0/b/gitbook-x-prod.appspot.com/o/spaces%2FOjEy54f4ToLNl5n9gmZs%2Fuploads%2Fgit-blob-e66040f2f15a4c485efd3aedd687241cc4d37fee%2Fimg_7.png?alt=media)

#### PhotoController

![img\_8.png](https://2900387690-files.gitbook.io/~/files/v0/b/gitbook-x-prod.appspot.com/o/spaces%2FOjEy54f4ToLNl5n9gmZs%2Fuploads%2Fgit-blob-7295f7c11ffda259b59abc6292f5eda2304a05d5%2Fimg_8.png?alt=media)

#### MyInfoController

![img\_9.png](https://2900387690-files.gitbook.io/~/files/v0/b/gitbook-x-prod.appspot.com/o/spaces%2FOjEy54f4ToLNl5n9gmZs%2Fuploads%2Fgit-blob-834b2fd680663e7a877ab04b71d9b9a20c9cf524%2Fimg_9.png?alt=media)

***

### 리소스 서버 - Friend

#### application.yml

![img\_10.png](https://2900387690-files.gitbook.io/~/files/v0/b/gitbook-x-prod.appspot.com/o/spaces%2FOjEy54f4ToLNl5n9gmZs%2Fuploads%2Fgit-blob-e00d40d5767c93ec28a8483f52fbbeb631f011ff%2Fimg_10.png?alt=media)

#### SecurityConfig

![img\_11.png](https://2900387690-files.gitbook.io/~/files/v0/b/gitbook-x-prod.appspot.com/o/spaces%2FOjEy54f4ToLNl5n9gmZs%2Fuploads%2Fgit-blob-40a17c1cdf1ff1a2445962d42ebbcccbeae95144%2Fimg_11.png?alt=media)

#### FriendController

![img\_12.png](https://2900387690-files.gitbook.io/~/files/v0/b/gitbook-x-prod.appspot.com/o/spaces%2FOjEy54f4ToLNl5n9gmZs%2Fuploads%2Fgit-blob-2d7170c66fe2a0e64d236b23657ff7e72a551f2e%2Fimg_12.png?alt=media)
