---
title: authorization()
framework: securityinterface
role: symbol
role_heading: Instance Method
path: securityinterface/sfauthorizationview/authorization()
---

# authorization()

Returns the authorization object associated with this view.

## Declaration

```swift
func authorization() -> SFAuthorization!
```

## Discussion

Discussion The authorization object is defined in Security Foundation.

## See Also

### Getting information about the authorization view

- [authorizationRights()](securityinterface/sfauthorizationview/authorizationrights().md)
- [authorizationState()](securityinterface/sfauthorizationview/authorizationstate().md)
- [isEnabled()](securityinterface/sfauthorizationview/isenabled().md)
