vSphere Web Services API
|
| Local Properties | ||
| Managed Object Types | Data Object Types | All Properties | All Methods |
Fault - AuthenticationRequired(vmodl.fault.AuthenticationRequired)
- Extends
- RuntimeFault
- See also
- AuthenticationRequiredChallenge
- Since
- vmodl.version.version3
Fault Description
The AuthenticationRequired fault indicates that the client must authenticate or re-authenticate to access the requested resource.This fault is thrown when:
- No authentication credentials are provided in the request
- The provided access token is invalid, expired, or revoked
- The authentication scheme used is not supported
- The request has malformed authentication parameters
When this fault occurs, clients should examine the authenticate challenges to determine the appropriate authentication method and parameters. The VI/JSON infrastructure automatically converts this fault into standard HTTP authentication responses with appropriate status codes (400, 401, 403) and WWW-Authenticate headers based on the challenge details.
For OAuth 2.0 Bearer token authentication, clients may need to:
- Obtain a new access token if the current one is expired
- Register full user claims with vCenter
- Discover authentication endpoint from OpenID Connect Configuration
Properties
| Name | Type | Description |
|---|---|---|
| authenticate | AuthenticationRequiredChallenge[] |
Applicable to the request authentication schemes and their requirements.
|
| Properties inherited from RuntimeFault | ||
| None | ||
| Properties inherited from MethodFault | ||
| faultCause, faultMessage | ||
Show WSDL type definition
| Top of page | Local Properties | ||
| Managed Object Types | Data Object Types | All Properties | All Methods |