protected AAuthentication(Auth_Token?AuthToken = null, eMAIdWithPIN2 QRCodeIdentification = null, eMobilityAccount_Id?PlugAndChargeIdentification = null, eMobilityAccount_Id?RemoteIdentification = null, UInt32?PIN = null, PgpPublicKey PublicKey = null, I18NString Description = null) { this.AuthToken = AuthToken; this.QRCodeIdentification = QRCodeIdentification; this.PlugAndChargeIdentification = PlugAndChargeIdentification; this.RemoteIdentification = RemoteIdentification; this.PIN = PIN; this.PublicKey = PublicKey; this.Description = Description; }
protected internal RemoteAuthentication(Auth_Token?AuthToken = null, eMAIdWithPIN2 QRCodeIdentification = null, eMobilityAccount_Id?PlugAndChargeIdentification = null, eMobilityAccount_Id?RemoteIdentification = null, UInt32?PIN = null, PgpPublicKey PublicKey = null, I18NString Description = null) : base(AuthToken, QRCodeIdentification, PlugAndChargeIdentification, RemoteIdentification, PIN, PublicKey, Description) { }
/// <summary> /// Create a new authentication info based on the given /// e-mobility account identification and its password. /// </summary> /// <param name="QRCodeIdentification">A QR code identification.</param> public static AuthInfo FromQRCodeIdentification(eMAIdWithPIN2 QRCodeIdentification) { return(new AuthInfo(QRCodeIdentification)); }
private AuthInfo(eMAIdWithPIN2 QRCodeIdentification) { this._QRCodeIdentification = QRCodeIdentification; }
/// <summary> /// Create a new authentication info based on the given /// e-mobility account identification and its password. /// </summary> /// <param name="QRCodeIdentification">A QR code identification.</param> /// <param name="Description">An optional multilingual description.</param> public static RemoteAuthentication FromQRCodeIdentification(eMAIdWithPIN2 QRCodeIdentification, I18NString Description = null) => new RemoteAuthentication(QRCodeIdentification: QRCodeIdentification, Description: Description);