David Luhmer
|
f9bc65b6e1
add exception handling if nextcloud-files app is reinstalled and third party app tries to access using an old token
|
6 anni fa |
David Luhmer
|
d9080650ac
add response-body (if available) to exception if request failed (ref https://github.com/nextcloud/Android-SingleSignOn/issues/35)
|
6 anni fa |
David Luhmer
|
704a41b281
improve error handling as suggested by @AndyScherzinger
|
6 anni fa |
David Luhmer
|
80582657f0
fix exception handling (networkonmainthread failed before)
|
6 anni fa |
David Luhmer
|
086492b6d4
add own sso token manager with custom dialog
|
6 anni fa |
David Luhmer
|
e3c708c87f
add token verification method into inputstreambinder class (otherwise client app needs dependency on encryptionutils class)
|
6 anni fa |
tobiasKaminsky
|
c73ffe0e0c
use hashed/salted token
|
6 anni fa |
David Luhmer
|
415afeb4e3
fix lint issues
|
6 anni fa |
David Luhmer
|
f077a7ef33
use getter methods to access NextcloudRequest's variables / add support to disable follow-redirects
|
6 anni fa |
David Luhmer
|
6978fd35d1
fix lint issue "Do not add empty strings"
|
6 anni fa |
David Luhmer
|
96e79e71fb
add more exceptions / improve error handling
|
6 anni fa |
David Luhmer
|
614982a642
add calling package name if it's not set (when validating auth token)
|
6 anni fa |
David Luhmer
|
0234e8097f
validate tokens in a way that timing attacks are not possible
|
6 anni fa |
David Luhmer
|
57e7eee9ff
remove check for package name as it can be faked easily
|
6 anni fa |
David Luhmer
|
97b924d545
add custom exception for unsupported http method call
|
6 anni fa |
David Luhmer
|
e84be102ff
fix broken import of custom exceptions after refactoring
|
6 anni fa |
David Luhmer
|
8133875769
create constants for custom exceptions
|
6 anni fa |
AndyScherzinger
|
f97b7e4ea1
place license header at the top of the file
|
6 anni fa |
David Luhmer
|
ba89fcba8b
Fix code quality issue / reorder statements
|
6 anni fa |
David Luhmer
|
7948876041
Fix more code quality issues
|
6 anni fa |
David Luhmer
|
07a9e8c55f
Fix code quality issues
|
6 anni fa |
David Luhmer
|
cdf3ec2680
fix everything @AndyScherzinger proposed
|
6 anni fa |
David Luhmer
|
767ca18e5e
add missing license headers
|
6 anni fa |
tobiasKaminsky
|
da79ca4afa
package renaming
|
6 anni fa |