getAuthentication<T extends Authentication> method
Implementation
T? getAuthentication<T extends Authentication>(String name) {
final authentication = _authentications[name];
return authentication is T ? authentication : null;
}