Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Manage token with some classes #5

Closed
wants to merge 1 commit into from
Closed

Manage token with some classes #5

wants to merge 1 commit into from

Conversation

mahdizareeii
Copy link

create AuthorizationInterceptor.kt
create TokenManager.kt
create providers for the classes in NetworkModule

send token with AuthorizationInterceptor.kt in header of each request,
remove the token from any request in RecipeRepository.kt

create okHttpClient fun for addInterceptor the AuthorizationInterceptor

and formatting some classes with(ctrl + alt + l)

create TokenManager.kt

send token with AuthorizationInterceptor.kt class and remove token from any request in RecipeRepository.kt
@mahdizareeii mahdizareeii changed the title create AuthorizationInterceptor.kt Manage token with some classes Sep 19, 2021
This pull request was closed.
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

None yet

1 participant