---
title: ASAuthorization
framework: authenticationservices
role: symbol
role_heading: Class
path: authenticationservices/asauthorization
---

# ASAuthorization

The encapsulation of a successful authorization by a controller.

## Declaration

```swift
class ASAuthorization
```

## Topics

### Getting the Provider

- [provider](authenticationservices/asauthorization/provider.md)

### Getting the Credential

- [credential](authenticationservices/asauthorization/credential.md)
- [ASAuthorizationCredential](authenticationservices/asauthorizationcredential.md)

### Characterizing an Authorization

- [ASAuthorization.Scope](authenticationservices/asauthorization/scope.md)
- [ASAuthorization.OpenIDOperation](authenticationservices/asauthorization/openidoperation.md)

## Relationships

### Inherits From

- [NSObject](objectivec/nsobject-swift.class.md)

### Conforms To

- [CVarArg](swift/cvararg.md)
- [CustomDebugStringConvertible](swift/customdebugstringconvertible.md)
- [CustomStringConvertible](swift/customstringconvertible.md)
- [Equatable](swift/equatable.md)
- [Hashable](swift/hashable.md)
- [NSObjectProtocol](objectivec/nsobjectprotocol.md)
- [Sendable](swift/sendable.md)
- [SendableMetatype](swift/sendablemetatype.md)

## See Also

### Handling Successful Authorization

- [authorizationController(_:didCompleteWithCustomMethod:)](authenticationservices/asauthorizationcontrollerdelegate/authorizationcontroller(_:didcompletewithcustommethod:).md)
- [authorizationController(controller:didCompleteWithAuthorization:)](authenticationservices/asauthorizationcontrollerdelegate/authorizationcontroller(controller:didcompletewithauthorization:).md)
