# 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:
FinishActivationResult
StartAuthenticationResult
FinishAuthenticationResult
To get the full operation context, you can use the following functions on the result classes:
Note
They can be null.
Function | Description |
---|---|
getContextTitle() | Get the title of the context returned. |
getContextContent() | Get the data for the context. |
getContextMIME() | Get the MIME type of the data sent in context content. |
You can read more about operation context in our MobileID feature documentation.