---
title: SFViewType
framework: securityinterface
role: symbol
role_heading: Structure
path: securityinterface/sfviewtype
---

# SFViewType

These constants define the view type requested by the authorization plug-in.

## Declaration

```swift
struct SFViewType
```

## Topics

### Initializers

- [init(_:)](securityinterface/sfviewtype/init(_:).md)
- [init(rawValue:)](securityinterface/sfviewtype/init(rawvalue:).md)

### Instance Properties

- [rawValue](securityinterface/sfviewtype/rawvalue.md)

### Constants

- [SFViewTypeIdentityAndCredentials](securityinterface/sfviewtypeidentityandcredentials.md)
- [SFViewTypeCredentials](securityinterface/sfviewtypecredentials.md)

## Relationships

### Conforms To

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

## See Also

### Reference

- [SFAuthorizationViewState](securityinterface/sfauthorizationviewstate.md)
- [SFButtonType](securityinterface/sfbuttontype.md)
- [SecurityInterface Constants](securityinterface/securityinterface-constants.md)
- [SecurityInterface Data Types](securityinterface/securityinterface-data-types.md)
- [SecurityInterface Enumerations](securityinterface/securityinterface-enumerations.md)
