public void UseAuthenticate(Func <string, bool> authCallback) { AuthAPIContext = new AuthAPIContext(this); AuthCallback = (uid, pwdData) => { return(authCallback(uid)); }; }
public void UseAuthenticate(Func <string, byte[], bool> authCallback) { AuthAPIContext = new AuthAPIContext(this); AuthCallback = authCallback; }