<!--
{
  "availability" : [
    "iOS: 13.0.0 -",
    "iPadOS: 13.0.0 -",
    "macCatalyst: 13.1.0 -",
    "macOS: 10.15.0 -",
    "tvOS: 13.0.0 -",
    "visionOS: 1.0.0 -",
    "watchOS: 6.0.0 -"
  ],
  "documentType" : "symbol",
  "framework" : "AuthenticationServices",
  "identifier" : "/documentation/AuthenticationServices/ASAuthorizationOpenIDRequest",
  "metadataVersion" : "0.1.0",
  "role" : "Class",
  "symbol" : {
    "kind" : "Class",
    "modules" : [
      "Authentication Services"
    ],
    "preciseIdentifier" : "c:objc(cs)ASAuthorizationOpenIDRequest"
  },
  "title" : "ASAuthorizationOpenIDRequest"
}
-->

# ASAuthorizationOpenIDRequest

An OpenID authorization request.

```
class ASAuthorizationOpenIDRequest
```

## Topics

### Setting the Operation

[`requestedOperation`](/documentation/AuthenticationServices/ASAuthorizationOpenIDRequest/requestedOperation)

The OpenID authentication operation you want this request to perform.

[`OpenIDOperation`](/documentation/AuthenticationServices/ASAuthorization/OpenIDOperation)

The kinds of operations that you can perform with OpenID authentication.

### Setting the Scope

[`requestedScopes`](/documentation/AuthenticationServices/ASAuthorizationOpenIDRequest/requestedScopes)

The contact information to be requested from the user during authentication.

[`Scope`](/documentation/AuthenticationServices/ASAuthorization/Scope)

The kinds of contact information that can be requested from the user.

### Setting the State

[`state`](/documentation/AuthenticationServices/ASAuthorizationOpenIDRequest/state)

Data that’s returned to you unmodified in the corresponding credential after a successful authentication.

### Setting the Nonce

[`nonce`](/documentation/AuthenticationServices/ASAuthorizationOpenIDRequest/nonce)

A string value to pass to the identity provider.

## Relationships

### Conforms To

[`SendableMetatype`](/documentation/Swift/SendableMetatype)

[`NSSecureCoding`](/documentation/Foundation/NSSecureCoding)

[`NSCopying`](/documentation/Foundation/NSCopying)

[`Sendable`](/documentation/Swift/Sendable)

[`NSCoding`](/documentation/Foundation/NSCoding)

[`Equatable`](/documentation/Swift/Equatable)

[`NSObjectProtocol`](/documentation/ObjectiveC/NSObjectProtocol)

[`CVarArg`](/documentation/Swift/CVarArg)

[`Hashable`](/documentation/Swift/Hashable)

[`CustomStringConvertible`](/documentation/Swift/CustomStringConvertible)

[`CustomDebugStringConvertible`](/documentation/Swift/CustomDebugStringConvertible)

### Inherited By

[`ASAuthorizationSingleSignOnRequest`](/documentation/AuthenticationServices/ASAuthorizationSingleSignOnRequest)

[`ASAuthorizationAppleIDRequest`](/documentation/AuthenticationServices/ASAuthorizationAppleIDRequest)

### Inherits From

[`ASAuthorizationRequest`](/documentation/AuthenticationServices/ASAuthorizationRequest)

---

Copyright &copy; 2026 Apple Inc. All rights reserved. | [Terms of Use](https://www.apple.com/legal/internet-services/terms/site.html) | [Privacy Policy](https://www.apple.com/privacy/privacy-policy)