# Operation context

You can use the operation context to add context to the activation or authentication attempt.

For example, an end-user may need to authenticate themselves to allow for a certain transfer to proceed.

  • For activation, the Encap server can return a post-operation context.

  • For authentication, the Encap server can return both a pre-operation context and a post-operation context.

You can find the data in the respective result classes:

  • EncapFinishActivationResult
  • EncapStartAuthenticationResult
  • EncapFinishAuthenticationResult

To get the full operation context, you can use the following properties on the result classes:

Property Description
contextTitle Get the title of the context returned.
contextContent Get the data for the context.
contextMIME Get the MIME type of the data sent in context content.

You can read more about operation context in our MobileID feature documentation.

Last updated: 11/04/2024 07:47 UTC