You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
JWTAuthorizable
JWTInterceptor에서 사용할 Token에 대한 인터페이스를 정의합니다.
POP 방식을 이용하여 임의의 구조체에 해당 프로토콜을 채택하여 확장할 수 있도록 하였습합니다.
JWTInterceptor
토큰 갱신을 위한 router, adapt와 retry를 위한 network/persistent service를 의존성으로 갖습니다.
요청시 Keychain에서 bearerToken을 read하여 요청의 header에 추가합니다.
unautorized error의 경우 의존성으로 받은 refreshRouter를 통해 토큰을 갱신합니다.
Refs: #33
JWTAuthorizable
JWTInterceptor에서 사용할 Token에 대한 인터페이스를 정의합니다.
POP 방식을 이용하여 임의의 구조체에 해당 프로토콜을 채택하여 확장할 수 있도록 하였습합니다.
JWTInterceptor
토큰 갱신을 위한 router, adapt와 retry를 위한 network/persistent service를 의존성으로 갖습니다.
요청시 Keychain에서 bearerToken을 read하여 요청의 header에 추가합니다.
unautorized error의 경우 의존성으로 받은 refreshRouter를 통해 토큰을 갱신합니다.
Refs: #33
Description
개요
요구사항
TODO
Environment
macOS: Monterey 12.5.1, Apple M1
iOS: 15.5, iPhone 13 mini
IDE: Xcode 13.4.1
Related: #11 #29
The text was updated successfully, but these errors were encountered: