- There is basically just 3 files provided:
AuthTokenProvider
: The class that needs to be implementedAuthToken
: A simple data class for the AuthTokenAuthTokenProviderTest
: The unit tests you should pass
The rules
- Please do not change
AuthToken
orAuthTokenProviderTest
! - Keep the signature of the
AuthTokenProvider
constructor andAuthTokenProvider.observeToken()
function as they are. - You should build your implementation within
AuthTokenProvider
. If you need more classes or functions for your implementation, go ahead and create them. - We pass a few arguments in the
AuthTokenProvider
- please make use of them, so that the unit tests have a chance to work. AuthToken
has a few helper functions that you might need.