AccessResult

public struct AccessResult : Equatable, CustomStringConvertible

Class encapsulating the request access result

  • The access decision made by the controller on an access attempt

    Declaration

    Swift

    public let accessDecision: AccessDecision
  • The access mode the Mobile Reader is operating in when making the access decision

    Declaration

    Swift

    public let accessMode: AccessMode
  • Gallagher Internal Only a string representation of the Credential ID. Not guaranteed to be set

    Declaration

    Swift

    public var credentialId: String? { get }
  • Function that determines whether the accessDecision is granted

    Declaration

    Swift

    public func isAccessGranted() -> Bool
  • Function that determines whether the accessDecision is denied

    Declaration

    Swift

    public func isAccessDenied() -> Bool
  • Declaration

    Swift

    public var description: String { get }