All Known Implementing Classes:
AnonymousProvider, CompositeProvider, UsernameProvider, X509IdentityProvider

public interface IdentityProvider
  • Method Summary

    Modifier and Type
    Method
    Description
    getIdentityToken(org.eclipse.milo.opcua.stack.core.types.structured.EndpointDescription endpoint, org.eclipse.milo.opcua.stack.core.types.builtin.ByteString serverNonce)
    Return the UserIdentityToken and SignatureData (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 the UserIdentityToken and SignatureData (if applicable for the token) to use when activating a session.
      Parameters:
      endpoint - the EndpointDescription being connected to.
      Returns:
      a SignedIdentityToken containing the UserIdentityToken and SignatureData.
      Throws:
      Exception