Managing Authentication with Dagger (part 1/3)

Опубликовано: 29 Сентябрь 2024
на канале: CodingWithMitch
5,810
96

In this video I'm going to build a class for managing the authentication state of a user. It will exist within the AppComponent so it can be injected into anywhere in the application as a dependency.

What will this achieve?
That way you can easily determine if a user is authenticated or not, no matter what screen is currently in view.

➤ Watch the dagger course free:
↻ https://codingwithmitch.com/courses/d...

➤ Code for this video:
↻ https://github.com/mitchtabian/Dagger...