---
title: update()
framework: securityinterface
role: symbol
role_heading: Instance Method
path: securityinterface/sfauthorizationpluginview/update()
---

# update()

Tells the authorization plug-in to get and display the appropriate view in the authorization plug-in’s user interface.

## Declaration

```swift
func update()
```

## Discussion

Discussion Your subclass of SFAuthorizationPluginView should call this method when a user clicks a button in your view that should result in a new view being displayed. Calling this method causes the authorization plug-in to get the new view and display it.

## See Also

### Communicating with the Authorization Plug-in

- [display()](securityinterface/sfauthorizationpluginview/display().md)
- [setButton(_:enabled:)](securityinterface/sfauthorizationpluginview/setbutton(_:enabled:).md)
