applyTokens method
Implementation
Future<void> applyTokens(AuthTokens tokens, {bool isNewUser = false}) async {
final user = await _session.applyTokens(tokens);
state = state.copyWith(
status: AuthStatus.authenticated,
user: user,
isNewUser: isNewUser,
error: null,
);
}