Specify user identity with UserIdentityToken
mainThe UserIdentityToken structure allows clients to specify the identity of the user they are acting on behalf of. The specific mechanism depends on the server configuration. Supported token types include:
AnonymousIdentityToken: Indicates the client has no user credentials.UserNameIdentityToken: Passes simple username/password credentials. If aSecurityPolicyis required by theUserTokenPolicy, the password must be encrypted.X509IdentityToken: Passes an X.509 v3 certificate issued by the user. This usually requires a signature in theuserTokenSignatureparameter duringActivateSession.IssuedIdentityToken: Passes security tokens issued by an external authorization service (e.g., JWTs via OAuth2).