DenialReason
public enum DenialReason : Sendable
Additional explanation about the reason of book opening denial.
- noAccess: The token was expired, revoked, malformed, or invalid for other reasons.
- noEntitlements: The token was valid, but the user does not have access to this content.
- noToken: Book access check couldn’t be performed because the token wasn’t provided by the
TokenProvider
. - networkError: Book access check couldn’t be performed because of a network error (e.g. offline mode).
- deniedByHost: The implementor of BookOpening protocol decided to deny access to this book for any reason.
-
Undocumented
Declaration
Swift
case noAccess
-
Undocumented
Declaration
Swift
case noEntitlements
-
Undocumented
Declaration
Swift
case noToken
-
Undocumented
Declaration
Swift
case networkError
-
Undocumented
Declaration
Swift
case deniedByHost