Skip to content

[refresh] Updating access token and posting notification on token refresh #171

New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Merged
merged 1 commit into from
Apr 24, 2015

Conversation

wireframe
Copy link
Contributor

cherrypicked commit 947259a from #167

@toto
Copy link
Contributor

toto commented Apr 24, 2015

👍

toto added a commit that referenced this pull request Apr 24, 2015
[refresh] Updating access token and posting notification on token refresh
@toto toto merged commit 269536f into nxtbgthng:develop Apr 24, 2015
pwnified added a commit to pwnified/OAuth2Client that referenced this pull request Sep 30, 2020
commit 1e899ee
Author: Hamilton <[email protected]>
Date:   Fri Jul 17 23:49:43 2020 -0700

    Chill some warnings

    CFURLCreateStringByAddingPercentEscapes -> stringByAddingPercentEncodingWithAllowedCharacters.

commit 53e3108
Author: Hamilton <[email protected]>
Date:   Tue Jul 14 18:11:02 2020 -0700

    Xcode 12 updates

commit b7b32b8
Author: Hamilton Feltman <[email protected]>
Date:   Sat Nov 2 21:05:11 2019 -0700

    Some nonsense

commit 2a063e1
Author: pwnified <[email protected]>
Date:   Fri Apr 12 21:51:55 2019 -0700

    Removed TODO comments because they conflict with the todo system

commit 4abe954
Merge: cdb9f12 c46e949
Author: pwnified <[email protected]>
Date:   Fri Apr 12 21:47:19 2019 -0700

    Merge branch 'master' of https://github.com/pwnified/OAuth2Client into master2

    * 'master' of https://github.com/pwnified/OAuth2Client:
      Localizations update
      Silence warning about Base localization.
      Xcode noise
      Xocde noise
      Xcode 8 and iOS 10 updates.
      Not sure what this bullshit is this time

    # Conflicts:
    #	OAuth2Client.xcodeproj/project.pbxproj

commit cdb9f12
Author: pwnified <[email protected]>
Date:   Mon Apr 1 13:12:24 2019 -0700

    iOS deployment target from 5.1 to 8.0

commit c46e949
Author: Hamilton Feltman <[email protected]>
Date:   Fri Mar 29 20:31:16 2019 -0700

    Localizations update

commit 37543a4
Author: pwnified <[email protected]>
Date:   Fri Sep 21 14:06:20 2018 -0700

    Silence warning about Base localization.

commit ef77c3d
Author: pwnified <[email protected]>
Date:   Tue May 15 22:19:22 2018 -0700

    Xcode noise

commit 7cc9bf5
Author: pwnified <[email protected]>
Date:   Wed Nov 1 15:12:28 2017 -0700

    Xocde noise

commit 4325096
Author: pwnified <[email protected]>
Date:   Tue Oct 11 21:12:50 2016 -0700

    Xcode 8 and iOS 10 updates.

commit da855c0
Author: hamilton <[email protected]>
Date:   Wed Mar 30 00:53:36 2016 -0700

    Not sure what this bullshit is this time

commit 2eaa69d
Author: hamilton <[email protected]>
Date:   Wed Oct 21 21:51:21 2015 -0700

    Every time.

commit d3597b8
Author: hamilton <[email protected]>
Date:   Sun Oct 4 17:04:32 2015 -0700

    Compiler warning from last submit on armv7.

commit 7228a5d
Author: hamilton <[email protected]>
Date:   Sun Oct 4 16:13:37 2015 -0700

    Allow printing of negative OSStatus error codes.

commit 0584245
Merge: abc5262 4a71e8a
Author: hamilton <[email protected]>
Date:   Thu Oct 1 20:30:53 2015 -0700

    Merge branch 'develop' of https://github.com/nxtbgthng/OAuth2Client

    Conflicts:
    	Sources/OAuth2Client/NXOAuth2AccountStore.m
    	Sources/OAuth2Client/NXOAuth2PostBodyStream.m

commit 4a71e8a
Merge: 685e54c 12241ed
Author: Thomas Kollbach <[email protected]>
Date:   Wed Sep 2 18:16:37 2015 +0200

    Merge pull request nxtbgthng#192 from zittix/patch-1

    Fix non-standard invalid_token header detection

commit abc5262
Author: hamilton <[email protected]>
Date:   Fri Aug 21 21:01:30 2015 +0900

    Xcode noise.
    Removed armv7s arch.
    Null check on 'foundAccount'.

commit 12241ed
Author: Mathieu Monney <[email protected]>
Date:   Thu Aug 20 10:03:23 2015 +0200

    Added invalid_token detection to be backward compatible

commit da014b1
Author: Mathieu Monney <[email protected]>
Date:   Thu Aug 20 09:02:24 2015 +0200

    Fix non-standard invalid_token header detection

    This PR fixes a problem where the header of Www-authenticate was checked with a non-standard keywork for invalid token. Per the RFC, the standard keyword **invalid_grant** specify an invalid or expired token.

    Moreover it has been added a check to try to refresh the token if possible.

commit 685e54c
Merge: b848013 6880eb7
Author: Thomas Kollbach <[email protected]>
Date:   Sat Jul 11 14:43:15 2015 +0200

    Merge pull request nxtbgthng#189 from progrmr/feature/fixCompilerWarnings

    fixed implicit conversion warnings

commit 6880eb7
Author: Gary A. Morris <[email protected]>
Date:   Sat Jul 11 05:14:22 2015 -0700

    fixed implicit conversion warnings on 64-bit devices, used matching types

commit b848013
Merge: 893bcd1 17a05f0
Author: Thomas Kollbach <[email protected]>
Date:   Tue Jun 23 14:28:55 2015 +0200

    Merge pull request nxtbgthng#186 from orkoden/feature/error_param_for_redirecturl

    Add error parameter for handling redirect URLs

commit 17a05f0
Author: Jörg Bühmann <[email protected]>
Date:   Mon Jun 22 22:46:49 2015 +0200

    Adds hint to use custom url scheme with external browser
    Also emphasizes on which object to call the method for handling the redirect URL.

commit a5c3653
Author: Jörg Bühmann <[email protected]>
Date:   Mon Jun 22 22:30:22 2015 +0200

    adds NSError** parameter to handling of redirect URL
    Methods returning a BOOL should return an NSError if one is created inside of it. https://developer.apple.com/library/mac/documentation/Cocoa/Conceptual/ErrorHandlingCocoa/CreateCustomizeNSError/CreateCustomizeNSError.html#//apple_ref/doc/uid/TP40001806-CH204-BAJIIGCC

commit 012676f
Author: Jörg Bühmann <[email protected]>
Date:   Mon Jun 22 21:46:46 2015 +0200

    avoids crash with nil as value in dictionary

commit f279e13
Author: hamilton <[email protected]>
Date:   Wed Jun 17 22:16:21 2015 -0700

    armv7s

commit b4aa4dd
Merge: 6ada63b 893bcd1
Author: hamilton <[email protected]>
Date:   Wed Jun 17 17:28:13 2015 -0700

    Merge commit '893bcd1ad9b85d81291f428df0534405a0e7c920'

    Conflicts:
    	OAuth2Client.xcodeproj/project.pbxproj

commit 893bcd1
Merge: 8a8f30d 2d68048
Author: Thomas Kollbach <[email protected]>
Date:   Fri Jun 12 14:53:02 2015 +0200

    Merge pull request nxtbgthng#184 from anagromataf/feature/request-access

    Automatically Request Access for Connections

commit 2d68048
Author: Tobias Kräntzer <[email protected]>
Date:   Thu May 21 17:06:44 2015 +0200

    Check if the connection is the auth connection of the client (and if yes, do not trigger an auth if the response is a 401)

commit afdb8d2
Author: Tobias Kräntzer <[email protected]>
Date:   Thu May 21 15:05:12 2015 +0200

    Request access if a connection receives a 401 and has a oauth client without an access token.

commit 8a8f30d
Merge: cde9332 176fd3d
Author: Thomas Kollbach <[email protected]>
Date:   Mon Apr 27 17:31:08 2015 +0200

    Merge pull request nxtbgthng#170 from sirnacnud/shared-keychain

    Added support for keychain access group under iOS

commit cde9332
Merge: ae85fb3 2fb1f9e
Author: Thomas Kollbach <[email protected]>
Date:   Mon Apr 27 15:04:26 2015 +0200

    Merge pull request nxtbgthng#164 from tomhoag/docRemoveCookies

    Added instructions for removing account and cookies that may be in NSHTTPCookieStorage

commit ae85fb3
Merge: 269536f ef7718f
Author: Thomas Kollbach <[email protected]>
Date:   Fri Apr 24 23:14:42 2015 +0200

    Merge pull request nxtbgthng#172 from wireframe/refresh-fix-compilation

    Fix compilation error for NXOAuth2AccountStore accessToken property

commit ef7718f
Author: Ryan Sonnek <[email protected]>
Date:   Fri Apr 24 12:15:21 2015 -0500

    cherry-pick d78dd61

commit 269536f
Merge: 5fe6147 b5ebf00
Author: Thomas Kollbach <[email protected]>
Date:   Fri Apr 24 17:23:53 2015 +0200

    Merge pull request nxtbgthng#171 from wireframe/refresh-fix

    [refresh] Updating access token and posting notification on token refresh

commit b5ebf00
Author: Aleksandr Dodatko <[email protected]>
Date:   Fri Apr 10 17:56:32 2015 +0300

    [refresh] Updating access token and posting notification on token refresh

commit 176fd3d
Author: sir_nacnud <[email protected]>
Date:   Wed Apr 22 23:22:59 2015 -0500

    Undo changes to comments about keychain

commit 8c28724
Author: sir_nacnud <[email protected]>
Date:   Wed Apr 22 23:13:15 2015 -0500

    Modified OS X keychain functions to match iOS keychain functions

commit 3cfadfb
Merge: aac0ed6 5fe6147
Author: sir_nacnud <[email protected]>
Date:   Wed Apr 22 14:32:53 2015 -0500

    Merge remote-tracking branch 'origin/develop' into shared-keychain

commit 5fe6147
Author: Thomas Kollbach <[email protected]>
Date:   Sat Apr 18 14:13:40 2015 +0200

    fix accidental merge

commit aac0ed6
Merge: f7f7945 e56827b
Author: sir_nacnud <[email protected]>
Date:   Thu Apr 16 02:38:16 2015 -0500

    Merge remote-tracking branch 'origin/develop' into shared-keychain

commit e56827b
Merge: d1b9eda 5a55e90
Author: Thomas Kollbach <[email protected]>
Date:   Thu Apr 16 09:31:32 2015 +0200

    Merge pull request nxtbgthng#161 from linitix/develop

    Add guard to unsupported features of iOS 8 extensions

commit f7f7945
Author: sir_nacnud <[email protected]>
Date:   Wed Apr 15 22:57:39 2015 -0500

    Disabled keychain access group for iOS Simulator

commit 6ada63b
Author: pwnified <[email protected]>
Date:   Thu Apr 9 22:11:19 2015 -0700

    apple bullshit

commit d9825da
Author: sir_nacnud <[email protected]>
Date:   Sun Apr 5 19:08:54 2015 -0500

    Added support to specify the keychain access group for iOS

commit 5a55e90
Author: Damien Rambout <[email protected]>
Date:   Fri Apr 3 12:24:55 2015 +0200

    Rename NX_APP_EXTENSION guard macro into NX_APP_EXTENSIONS

commit 2fb1f9e
Author: Tom <[email protected]>
Date:   Thu Apr 2 11:07:05 2015 -0400

    added instructions for removing account and cookies that may be in NSHTTPCookieStorage'

commit 6e39657
Author: Damien Rambout <[email protected]>
Date:   Sun Mar 29 22:44:00 2015 +0200

    Add guard to unsupported features of iOS 8 extensions

commit e971c2e
Author: pwnified <[email protected]>
Date:   Fri Mar 13 14:17:57 2015 -0700

    Xcode LastUpgradeCheck noise.

commit d1b9eda
Merge: 378a720 7d22d0d
Author: Thomas Kollbach <[email protected]>
Date:   Fri Mar 13 22:17:16 2015 +0100

    Merge pull request nxtbgthng#160 from tomhoag/readmeAdditions

    README.md -- Added additional instruction and code examples

commit 7d22d0d
Author: Tom <[email protected]>
Date:   Fri Mar 13 17:08:47 2015 -0400

    Added addition instruction and code examples for configuring for Content-Type:application/x-www-form-urlencoded, using a UIWebView and calling handleRedirectURL:

commit 378a720
Merge: 9dd5a3f 395200d
Author: Thomas Kollbach <[email protected]>
Date:   Tue Mar 10 18:33:02 2015 +0100

    Merge pull request nxtbgthng#158 from tomhoag/issue156

    Issue156: Fixed NSAsserts to catch the right condition.  (Removed the ba...

commit 395200d
Author: Tom <[email protected]>
Date:   Tue Mar 10 13:20:05 2015 -0400

    Issue156: Fixed NSAsserts to catch the right condition.  (Removed the bang)

commit 9dd5a3f
Merge: cf4d87f f84a8cf
Author: Thomas Kollbach <[email protected]>
Date:   Tue Mar 10 14:26:20 2015 +0100

    Merge pull request nxtbgthng#157 from tomhoag/issue156

    Issue156: Added NSAssert to setClient: methods to check for nil values in keyChain...

commit f84a8cf
Author: Tom <[email protected]>
Date:   Tue Mar 10 09:08:42 2015 -0400

    Added NSAssert to setClient: methods to check for nil values in keyChainGroup and tokenType

commit 429648f
Author: pwnified <[email protected]>
Date:   Sat Feb 28 01:29:34 2015 -0800

    add armv7s

commit e91b529
Author: pwnified <[email protected]>
Date:   Thu Jan 29 00:01:14 2015 -0800

    bs

commit 86a68b9
Merge: 6b53167 6d98d0b
Author: pwnified <[email protected]>
Date:   Tue Jan 27 03:39:58 2015 -0800

    Merge branch 'master' of git://github.com/nxtbgthng/OAuth2Client

    Conflicts:
    	OAuth2Client.xcodeproj/project.pbxproj
    	Sources/OAuth2Client/NXOAuth2AccessToken.m
    	Sources/OAuth2Client/NXOAuth2AccountStore.m

commit 6d98d0b
Merge: 8a52237 a3ac417
Author: Thomas Kollbach <[email protected]>
Date:   Wed Oct 8 11:01:26 2014 +0200

    Merge branch 'release/1.2.8'

commit 6b53167
Merge: 28becdf 8a52237
Author: pwnified <[email protected]>
Date:   Mon Sep 8 07:50:32 2014 -0700

    Merge branch 'master' of git://github.com/nxtbgthng/OAuth2Client

commit 28becdf
Author: pwnified <[email protected]>
Date:   Mon Sep 8 07:50:18 2014 -0700

    shitpile

commit 8a52237
Merge: 17342b9 bb9e288
Author: Thomas Kollbach <[email protected]>
Date:   Thu Jun 12 23:19:25 2014 +0200

    Merge branch 'develop'

commit 17342b9
Merge: c31338f 32bc250
Author: Thomas Kollbach <[email protected]>
Date:   Thu Jun 12 17:25:19 2014 +0200

    Merge branch 'release/1.2.6'

commit cb77ce6
Merge: 431d79e c31338f
Author: pwnified <[email protected]>
Date:   Tue Jan 14 14:03:51 2014 -0800

    Merge branch 'master' of git://github.com/nxtbgthng/OAuth2Client

commit 431d79e
Author: pwnified <[email protected]>
Date:   Sat Nov 23 22:26:00 2013 -0800

    64 BIT SUPPORT

commit d6ad516
Merge: de23670 5af42be
Author: pwnified <[email protected]>
Date:   Sat Aug 3 21:39:39 2013 +0900

    Merge branch 'master' of git://github.com/nxtbgthng/OAuth2Client

commit de23670
Merge: 073e117 190223f
Author: pwnified <[email protected]>
Date:   Wed Jul 3 19:27:36 2013 -0700

    errr

commit 073e117
Merge: 4b58a61 bcd8adb
Author: pwnified <[email protected]>
Date:   Fri Nov 2 19:47:33 2012 -0700

    pos

commit 4b58a61
Author: pwnified <[email protected]>
Date:   Fri Nov 2 19:42:06 2012 -0700

    pos

commit d5e46e5
Merge: b0850ec 5b4a4c3
Author: pwnified <[email protected]>
Date:   Sat Oct 6 05:43:16 2012 -0700

    Merge branch 'master' of git://github.com/nxtbgthng/OAuth2Client

commit b0850ec
Author: pwnified <[email protected]>
Date:   Sat Sep 29 21:29:10 2012 -0700

    Project Updates
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants