SdkUserEnrollment
public struct SdkUserEnrollment : UserEnrollment, Hashable
The object containing the user enrollment information for an authenticator whose credentials are managed by the SDK (like the PIN authenticator).
-
Returns the set of accounts that are enrolled with this authenticator.
Declaration
Swift
public let enrolledAccounts: [any Account]
-
Declaration
Swift
public func encode(to encoder: Encoder) throws
-
Declaration
Swift
public static func == (lhs: SdkUserEnrollment, rhs: SdkUserEnrollment) -> Bool
-
Declaration
Swift
public func hash(into hasher: inout Hasher)
-
Tells whether a given user is enrolled or not.
Declaration
Swift
func isEnrolled(_ username: Username) -> Bool
Parameters
username
the username.
Return Value
true
if the user is enrolled, andfalse
otherwise.