Skip to content

Commit

Permalink
Update Auth0/AuthenticationError.swift
Browse files Browse the repository at this point in the history
  • Loading branch information
Widcket authored Jan 4, 2024
1 parent 9a2747c commit 88739c8
Showing 1 changed file with 1 addition and 0 deletions.
1 change: 1 addition & 0 deletions Auth0/AuthenticationError.swift
Original file line number Diff line number Diff line change
Expand Up @@ -109,6 +109,7 @@ public struct AuthenticationError: Auth0APIError {
return self.code == "invalid_grant"
&& self.localizedDescription == "Unknown or invalid refresh token."
}

/// When Auth0 denies access due to some misconfiguration or an error in an Action or Rule.
public var isAccessDenied: Bool {
return self.code == "access_denied"
Expand Down

0 comments on commit 88739c8

Please sign in to comment.