Interface IdentityProvider
- All Known Implementing Classes:
AnonymousProvider,CompositeProvider,UsernameProvider,X509IdentityProvider
public interface IdentityProvider
-
Method Summary
Modifier and TypeMethodDescriptiongetIdentityToken(org.eclipse.milo.opcua.stack.core.types.structured.EndpointDescription endpoint, org.eclipse.milo.opcua.stack.core.types.builtin.ByteString serverNonce) Return theUserIdentityTokenandSignatureData(if applicable for the token) to use when activating a session.
-
Method Details
-
getIdentityToken
SignedIdentityToken getIdentityToken(org.eclipse.milo.opcua.stack.core.types.structured.EndpointDescription endpoint, org.eclipse.milo.opcua.stack.core.types.builtin.ByteString serverNonce) throws Exception Return theUserIdentityTokenandSignatureData(if applicable for the token) to use when activating a session.- Parameters:
endpoint- theEndpointDescriptionbeing connected to.- Returns:
- a
SignedIdentityTokencontaining theUserIdentityTokenandSignatureData. - Throws:
Exception
-