When a user has 2FA enabled, this is the second call to perform after
/v2/users/login call.
Creates and returns a bearer token in JWT format that you can use to authenticate with Docker Hub APIs.
The returned token is used in the HTTP Authorization header like Authorization: Bearer {TOKEN}.
Most Docker Hub APIs require this token either to consume or to get detailed information. For example, to list images in a private repository.