Structures
The following structures are available globally.
-
A object for generating time-based & HMAC-based one-time passwords
Supported Generators
Extending this would require work around making the Generators & Hash functions extensible Delta has a good example of this in action.
- Time-based
- HMAC-based
Declaration
Swift
@available(iOS 13.0, OSX 10.15, watchOS 6.0, tvOS 13.0, *) public struct Generator : GeneratorProtocol
-
A object for the metadata surrounding time-based & HMAC-based one-time passwords
See moreDeclaration
Swift
@available(iOS 13.0, OSX 10.15, watchOS 6.0, tvOS 13.0, *) public struct Password : PasswordProtocol