Skip to content
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

Process authorization response and token fetch. #414

Merged
Merged
Changes from 1 commit
Commits
Show all changes
63 commits
Select commit Hold shift + click to select a range
54df794
Create method verifyAccountDetailsInteractivelyWithOptions.
brnnmrls Apr 17, 2024
5896985
Move configuration creation methods to GIDConfiguration from GIDSignIn.
brnnmrls Apr 18, 2024
94a4175
Implement default options creation methods.
brnnmrls Apr 18, 2024
4c2a643
Options validation.
brnnmrls Apr 18, 2024
78e175d
Add config initializers.
brnnmrls Apr 25, 2024
731d3a8
Merge branch 'briannamorales/vwg-flow' into briannamorales/optionsVal…
brnnmrls Apr 25, 2024
a5b9a61
Fix spacing.
brnnmrls Apr 25, 2024
d70400a
Add import to use GIDAccountDetailTypeAgeOver18.
brnnmrls Apr 25, 2024
f858d20
Import GIDConfiguration to test file.
brnnmrls Apr 25, 2024
4a97c00
Create OIDAuthorizationRequest.
brnnmrls Apr 29, 2024
c4d0a16
Add tests for config initializers.
brnnmrls Apr 30, 2024
e04a1ea
Add in initializer with config tests.
brnnmrls May 1, 2024
93fb453
Make used variables properties.
brnnmrls May 2, 2024
8441f85
Merge branch 'briannamorales/optionsValidation' into briannamorales/p…
brnnmrls May 2, 2024
066fa07
Add TODO for request/response handling tests.
brnnmrls May 2, 2024
dc6560b
Exclude MacOS for `GIDEMMSupport` use.
brnnmrls May 3, 2024
fa7845c
Silence unused 'request' variable for now until response is implemented.
brnnmrls May 3, 2024
986c1da
Implement method to process authorization response.
brnnmrls May 6, 2024
8bfd659
Add tests for config initializer and current user exception.
brnnmrls May 7, 2024
9376a4b
Create fake main bundle initializer and modify tests.
brnnmrls May 8, 2024
4cebc05
Remove Emm flow support and move GIDSignIn strings to avoid repeated …
brnnmrls May 8, 2024
51c5a36
Unblock testing in GIDVerifyAccountDetailTest by changing GIDSignInTe…
brnnmrls May 8, 2024
6ce9f10
Address formatting and indicate designated initializer in GIDFakeMain…
brnnmrls May 9, 2024
4d981eb
Add stopFaking calls in appropriate tests.
brnnmrls May 9, 2024
b744a4b
Fix indentation and remove parameter from `additionalParameters`.
brnnmrls May 9, 2024
89b92d3
Let parameter-less `init` be nullable and require `initWithConfig` to…
brnnmrls May 10, 2024
78daa0b
Create `GIDSignInConstants` class to hold common constants across the…
brnnmrls May 10, 2024
7112ce5
Fix method description and make `initWithConfig` nullable.
brnnmrls May 10, 2024
c9f6d9d
Merge branch 'briannamorales/presentAuthorizationRequest' into briann…
brnnmrls May 11, 2024
241d72e
Merge branch 'briannamorales/optionsValidation' into briannamorales/p…
brnnmrls May 11, 2024
1e4cb16
Merge branch 'briannamorales/presentAuthorizationRequest' into briann…
brnnmrls May 11, 2024
2023dbb
Fix formatting and add `openIDRealm` param.
brnnmrls May 13, 2024
52429b7
Add missing AppAuth/OID imports.
brnnmrls May 13, 2024
674ec5f
Merge branch 'briannamorales/vwg-flow' into briannamorales/presentAut…
brnnmrls May 14, 2024
aac80b4
Move constants to `GIDSignInConstants` and update doc comments.
brnnmrls May 14, 2024
298d9c4
Update preprocessor directives to exclude TARGET_OS_MACCATALYST.
brnnmrls May 14, 2024
d220aa7
Move `GIDVerifyAuthFlow` into separate files and change integer value…
brnnmrls May 15, 2024
227f3e3
Fix formatting.
brnnmrls May 15, 2024
570af10
Merge branch 'briannamorales/presentAuthorizationRequest' into briann…
brnnmrls May 15, 2024
02e047a
Create `GIDAuthFlow` class to group properties in authentication flow.
brnnmrls May 17, 2024
f42581b
Create class `GIDAuthorizationResponseHelper` to process authorizatio…
brnnmrls May 17, 2024
5249ae9
Reduce code duplication between flows using class `GIDAuthorizationRe…
brnnmrls May 17, 2024
bad0713
Merge branch 'briannamorales/vwg-flow' into briannamorales/processAut…
brnnmrls May 17, 2024
2f6d0fe
Add preprocessor directives to GIDAuthorizationResponseHelper.
brnnmrls May 18, 2024
061b76b
Return instance in GIDAuthorizationResponseHelper initializer.
brnnmrls May 20, 2024
e3a8b3d
Add test for `GIDAuthorizationResponseHelper`.
brnnmrls May 20, 2024
34df266
Add documentation and error handling.
brnnmrls May 20, 2024
5953f4e
Add designated initializer to `GIDAuthFlow`.
brnnmrls May 21, 2024
77752d8
Update documentation, constant names, and `GIDAuthorizationResponseHe…
brnnmrls May 21, 2024
06ff4d2
Add issue to clean up callback flow in the future.
brnnmrls May 21, 2024
60f276c
Add GIDAuthorizationResponseHandling and fake for testing.
brnnmrls May 24, 2024
5999eb0
Remove extra fetch token call to fix tests.
brnnmrls May 24, 2024
fab6b41
Add doc comment to `responseHandler` param.
brnnmrls May 24, 2024
7dc4c28
Move GIDAuthorizationResponse related files to designated directories.
brnnmrls May 29, 2024
6228850
Add testing for class GIDAuthorizationResponseHelper.
brnnmrls May 29, 2024
23c3d17
Add imports and preprocessor directives to testing.
brnnmrls May 29, 2024
0d56794
Fix test with no authorization code.
brnnmrls May 29, 2024
d754292
Add doc comments and remove unused imports.
brnnmrls Jun 4, 2024
6ca223c
Updating testing to check for equality.
brnnmrls Jun 4, 2024
caab226
Import OIDTokenResponse.
brnnmrls Jun 4, 2024
0caef48
Use created expiring access token time interval.
brnnmrls Jun 4, 2024
f5d4315
Update doc comments and naming.
brnnmrls Jun 5, 2024
77aea79
Changed variable names from "error" to "expectedError".
brnnmrls Jun 5, 2024
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
Prev Previous commit
Next Next commit
Add missing AppAuth/OID imports.
  • Loading branch information
brnnmrls committed May 13, 2024
commit 52429b724f32794a79b02cb547b52bc8e9a97089
Original file line number Diff line number Diff line change
Expand Up @@ -35,9 +35,19 @@
#else
#import <AppAuth/OIDAuthState.h>
#import <AppAuth/OIDAuthorizationRequest.h>
#import <AppAuth/OIDAuthorizationResponse.h>
#import <AppAuth/OIDAuthorizationService.h>
#import <AppAuth/OIDError.h>
#import <AppAuth/OIDExternalUserAgentSession.h>
#import <AppAuth/OIDResponseTypes.h>
#import <AppAuth/OIDServiceConfiguration.h>
#import <AppAuth/OIDExternalUserAgentSession.h>
#import <AppAuth/OIDTokenRequest.h>
#import <AppAuth/OIDTokenResponse.h>

#if TARGET_OS_IOS
#import <AppAuth/OIDAuthorizationService+IOS.h>
#endif

#endif

#if TARGET_OS_IOS && !TARGET_OS_MACCATALYST
Expand Down
Loading