public bool Upload(byte[] content) { try { var AuthResolver = new AuthenticationResolver(content); var fx = AuthResolver.Resolve(); AddAuthentication(AuthResolver); return(true); } catch { return(false); } }
public void AddAuthentication(AuthenticationResolver authenticationResolver) => Authentications[authenticationResolver.Resolve().Token] = authenticationResolver;