---
title: ASAuthorization.OpenIDOperation
framework: authenticationservices
role: symbol
role_heading: Structure
path: authenticationservices/asauthorization/openidoperation
---

# ASAuthorization.OpenIDOperation

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

## Declaration

```swift
struct OpenIDOperation
```

## Discussion

Discussion Use one of these values as the requestedOperation property in an OpenID request that you make with an instance of either ASAuthorizationAppleIDRequest or ASAuthorizationSingleSignOnRequest.

## Topics

### Operation Types

- [operationLogin](authenticationservices/asauthorization/openidoperation/operationlogin.md)
- [operationRefresh](authenticationservices/asauthorization/openidoperation/operationrefresh.md)
- [operationLogout](authenticationservices/asauthorization/openidoperation/operationlogout.md)
- [operationImplicit](authenticationservices/asauthorization/openidoperation/operationimplicit.md)

### Creating an Operation

- [init(_:)](authenticationservices/asauthorization/openidoperation/init(_:).md)
- [init(rawValue:)](authenticationservices/asauthorization/openidoperation/init(rawvalue:).md)

## Relationships

### Conforms To

- [Equatable](swift/equatable.md)
- [Hashable](swift/hashable.md)
- [RawRepresentable](swift/rawrepresentable.md)
- [Sendable](swift/sendable.md)
- [SendableMetatype](swift/sendablemetatype.md)

## See Also

### Setting the Operation

- [requestedOperation](authenticationservices/asauthorizationopenidrequest/requestedoperation.md)
