Role

public enum Role : String, CustomStringConvertible

Role enum representing the role that can be assigned to an authenticated user

  • A limited guest role assigned when a user is authenticated but not associated with an entity

    Declaration

    Swift

    case guest = "ROLE_GUEST"
  • The default role assigned once a user has authenticated against an entity but is not certified

    Declaration

    Swift

    case user = "ROLE_USER"
  • The role assigned to a user authenticated against an entity and who is also certified on the device

    Declaration

    Swift

    case userCertified = "ROLE_USER_CERTIFIED"
  • An extended guest role available to certified users on a secondary device

    Declaration

    Swift

    case userExtended = "ROLE_USER_EXTENDED"
  • The role assigned to an authenticated user who is has a user status of locked

    Declaration

    Swift

    case userLocked = "ROLE_USER_LOCKED"
  • returns the role as a string

    Declaration

    Swift

    public var description: String { get }