Skip to content

Commit 6d88e41

Browse files
OSX support in OKTA OIDC (#212)
OKTA-254906 - macOS OIDC SDK: Implement authentication API similar to iOS
1 parent 5e7b611 commit 6d88e41

File tree

149 files changed

+5149
-1221
lines changed

Some content is hidden

Large Commits have some content hidden by default. Use the searchbox below for content that may be hidden.

149 files changed

+5149
-1221
lines changed

.travis.yml

Lines changed: 11 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -2,5 +2,15 @@ language: objective-c
22
osx_image: xcode10.3
33
jobs:
44
include:
5+
- stage: Unit tests iOS
6+
name: iOS
57
script:
6-
- xcodebuild -project okta-oidc.xcodeproj -scheme "okta-oidc" -destination "platform=iOS Simulator,OS=latest,name=iPhone 8" clean test | xcpretty
8+
- xcodebuild -project okta-oidc.xcodeproj -scheme "okta-oidc-ios" -destination "platform=iOS Simulator,OS=latest,name=iPhone 8" clean test
9+
- stage: Unit tests MacOS
10+
name: MacOS
11+
script:
12+
- xcodebuild -project okta-oidc.xcodeproj -scheme "okta-oidc-mac" -destination "platform=macOS" clean test
13+
- stage: UI tests iOS
14+
name: iOS
15+
script:
16+
- xcodebuild -project okta-oidc.xcodeproj -scheme "okta-oidc" -destination "platform=iOS Simulator,OS=latest,name=iPhone 8" clean test

Okta/AppAuth/AppAuth.h

100755100644
Lines changed: 3 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,4 +1,4 @@
1-
/*! @file AppAuth.h
1+
/*! @file AppAuth.h
22
@brief AppAuth iOS SDK
33
@copyright
44
Copyright 2015 Google Inc. All Rights Reserved.
@@ -40,6 +40,8 @@
4040
#import "OIDTokenResponse.h"
4141
#import "OIDTokenUtilities.h"
4242
#import "OIDURLSessionProvider.h"
43+
#import "OIDEndSessionRequest.h"
44+
#import "OIDEndSessionResponse.h"
4345

4446
#if TARGET_OS_TV
4547
#elif TARGET_OS_WATCH

Okta/AppAuth/AppAuthCore.h

100755100644
Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -40,4 +40,5 @@
4040
#import "OIDTokenResponse.h"
4141
#import "OIDTokenUtilities.h"
4242
#import "OIDURLSessionProvider.h"
43-
43+
#import "OIDEndSessionRequest.h"
44+
#import "OIDEndSessionResponse.h"

Okta/AppAuth/OIDAuthState.h

100755100644
File mode changed.

Okta/AppAuth/OIDAuthState.m

100755100644
File mode changed.

Okta/AppAuth/OIDAuthStateChangeDelegate.h

100755100644
File mode changed.

Okta/AppAuth/OIDAuthStateErrorDelegate.h

100755100644
File mode changed.

Okta/AppAuth/OIDAuthorizationRequest.h

100755100644
Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -136,7 +136,7 @@ extern NSString *const OIDOAuthorizationRequestCodeChallengeMethodS256;
136136

137137
/*! @internal
138138
@brief Unavailable. Please use
139-
@c initWithConfiguration:clientId:scopes:redirectURL:additionalParameters:.
139+
@c initWithConfiguration:clientId:scopes:redirectURL:responseType:additionalParameters:.
140140
*/
141141
- (instancetype)init NS_UNAVAILABLE;
142142

Okta/AppAuth/OIDAuthorizationRequest.m

100755100644
File mode changed.

Okta/AppAuth/OIDAuthorizationResponse.h

100755100644
Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -90,7 +90,7 @@ NS_ASSUME_NONNULL_BEGIN
9090
NSDictionary<NSString *, NSObject<NSCopying> *> *additionalParameters;
9191

9292
/*! @internal
93-
@brief Unavailable. Please use initWithParameters:.
93+
@brief Unavailable. Please use initWithRequest:parameters:.
9494
*/
9595
- (instancetype)init NS_UNAVAILABLE;
9696

0 commit comments

Comments
 (0)