Function opcua_server::prelude::user_identity::make_user_name_identity_token
source · [−]pub fn make_user_name_identity_token(
channel_security_policy: SecurityPolicy,
user_token_policy: &UserTokenPolicy,
nonce: &[u8],
cert: &Option<X509>,
user: &str,
pass: &str
) -> Result<UserNameIdentityToken, StatusCode>
Expand description
Create a filled in UserNameIdentityToken by using the supplied channel security policy, user token policy, nonce, cert, user name and password.