File tree Expand file tree Collapse file tree
auth0/src/main/java/com/auth0/android/dpop Expand file tree Collapse file tree Original file line number Diff line number Diff line change @@ -5,7 +5,6 @@ import com.auth0.android.Auth0Exception
55public class DPoPException : Auth0Exception {
66
77 internal enum class Code {
8- UNSUPPORTED_ERROR ,
98 KEY_GENERATION_ERROR ,
109 KEY_STORE_ERROR ,
1110 SIGNING_ERROR ,
@@ -39,7 +38,6 @@ public class DPoPException : Auth0Exception {
3938
4039 public companion object {
4140
42- public val UNSUPPORTED_ERROR : DPoPException = DPoPException (Code .UNSUPPORTED_ERROR )
4341 public val KEY_GENERATION_ERROR : DPoPException = DPoPException (Code .KEY_GENERATION_ERROR )
4442 public val KEY_STORE_ERROR : DPoPException = DPoPException (Code .KEY_STORE_ERROR )
4543 public val SIGNING_ERROR : DPoPException = DPoPException (Code .SIGNING_ERROR )
@@ -52,7 +50,6 @@ public class DPoPException : Auth0Exception {
5250
5351 private fun getMessage (code : Code ): String {
5452 return when (code) {
55- Code .UNSUPPORTED_ERROR -> " DPoP is not supported in versions below Android 9 (API level 28)."
5653 Code .KEY_GENERATION_ERROR -> " Error generating DPoP key pair."
5754 Code .KEY_STORE_ERROR -> " Error while accessing the key pair in the keystore."
5855 Code .SIGNING_ERROR -> " Error while signing the DPoP proof."
You can’t perform that action at this time.
0 commit comments