Creating an Identity with DOFObject.Authentication

For a component to be secure, it must have authenticated credentials. There are three components that are required for authentication: an identity, a domain, and a secret. Here we create an identity for the proxy and the requestor using DOFObject.Authentication.

Understanding Credentials

Credentials are used to establish security and enable authentication. The three components necessary for authentication are as follows:

How It Works

It is important to note that credentials are assigned to DOF connectivity components (DOFSystem, DOFConnection, and DOFServer). Because of this, it is possible for a DOF to have a DOFSystem with credentials in one domain and a DOFConnection with credentials in a different domain. In this case, these components couldn't communicate unless they were bridged, despite the fact that they are attached to the same DOF.

For more information, see https://opendof.org/basic-concepts-of-opendof-security/.