I/AuthRepo: login called
I/SearchViewModel: Starting login
I/AuthRepo: Starting service config
I/AuthRepo: Using discovery service config
I/SearchViewModel: Discovering service configuration
I/SearchActivity: Progress change observed
I/SearchActivity: Action state change observed
Creating options menu
I/SearchActivity: Preparing options menu
I/SearchViewModel: Service discovery finished
I/AuthRepo: Finishing service config
I/AuthRepo: authorization endpoint: https://accounts.google.com/o/oauth2/v2/auth
token endpoint: https://oauth2.googleapis.com/token
user info endpoint: https://openidconnect.googleapis.com/v1/userinfo/
Starting client config
Finishing client config
client id: 181228929225-t1j1c50a980eionj1s3umqe44eo38iah.apps.googleusercontent.com
redirect uri: com.googleusercontent.apps.181228929225-t1j1c50a980eionj1s3umqe44eo38iah:/oauth2redirect
auth scope: openid email profile https://www.googleapis.com/auth/books
Starting user auth
- finishServiceConfig() 메소드가 실행된 결과이다.
- 그 후에 startClientConfig() > finishClientConfig() > startUserAuth() 메소드 실행됨
I/SearchViewModel: Requesting user authorization
I/SearchViewModel: User Agent Request!
I/SearchActivity: Progress change observed
I/SearchActivity: Activity request change observed
I/SearchActivity: Pausing searchBooks activity
I/AuthRepo: Finishing user auth
I/SearchViewModel: User authorization finished
I/AuthRepo: Starting code exchange
I/SearchViewModel: Exchanging code for access token
I/SearchActivity: Resuming searchBooks activity
I/SearchActivity: Progress change observed
I/AuthRepo: Finishing code exchange
I/SearchViewModel: Code exchange finished
I/AuthRepo: Starting user info
I/SearchViewModel: Gathering user information
I/SearchActivity: Progress change observed
I/AuthRepo: token: ya29.a0AfH6SMB0uNWPDAid1Ux1ZLtHzV7SZ2cU2yR26IElaJ4JhrezSA6NexeibSQ0INPv_s2TseYzegLI6sJCYW3DhsP-0Byt-cm0g39FuL3tF0wb2d-4cJQbE2a4vy0zVTguyWfUXHTqJXdPO1SjwcqA14IAx8lA
I/AuthRepo: UserInfoTask response.isSuccessful() : true
I/AuthRepo: UserInfoTask doInBackground : UserInfo{lastName='하', firstName='현준', imageLink='https://lh3.googleusercontent.com/a-/AOh14Gikp1CUvhYArQvt4tNVdxNClBKIynGctoSfBKSt4R8=s96-c'}
@GET("/oauth2/v3/userinfo")
실행되서 사용자 정보 받아옴I/AuthRepo: Finishing user info
I/SearchViewModel: User information gathering finished
I/AuthRepo: Finishing login
I/SearchViewModel: Login succeeded
I/SearchActivity: Progress change observed
I/SearchActivity: Action state change observed
I/SearchActivity: Creating options menu
I/SearchActivity: Preparing options menu