Skip to content

Commit 60c6805

Browse files
committed
Bump to 3.0.3
1 parent 11613cf commit 60c6805

10 files changed

+18
-10
lines changed

.jazzy.yaml

Lines changed: 5 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -23,6 +23,7 @@ custom_categories:
2323
- OAuth2ClientCredentialsReddit
2424
- OAuth2ImplicitGrant
2525
- OAuth2PasswordGrant
26+
- OAuth2PasswordGrantDelegate
2627

2728
- name: Errors & Types
2829
children:
@@ -68,7 +69,11 @@ custom_categories:
6869
children:
6970
- OAuth2AuthorizerUI
7071
- OAuth2Authorizer
72+
- OAuth2CustomAuthorizerUI
73+
- OAuth2CustomAuthorizer
7174
- OAuth2ContextStore
7275
- OAuth2KeychainAccount
7376
- OAuth2WebViewController
77+
- OAuth2DataLoaderSessionTaskDelegate
78+
7479

.travis.yml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,7 +1,7 @@
11
language: objective-c # well "swift" actually
22
osx_image: xcode8
33
xcode_project: OAuth2.xcodeproj
4-
xcode_scheme: OAuth2OSX
4+
xcode_scheme: OAuth2macOS
55
xcode_sdk: macosx
66
script:
77
- travis_wait xcodebuild

CHANGELOG.md

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -5,11 +5,12 @@ Version numbering represents the Swift version, plus a running number representi
55
You can also refer to commit logs to get details on what was implemented, fixed and improved.
66

77

8-
### x.x.x
8+
### 3.0.3
99

1010
- Allow more UI customization via `authConfig.UI` and making `OAuth2Authorizer` friendlier to subclassing
1111
- Implement custom authorization UIs for password grants (thanks @amaurydavid !)
1212
- Optionally allow `DataLoader` to follow 302 redirects automatically (on same host)
13+
- Fix a bug with data loader not using refresh tokens (#184)
1314

1415

1516
### 3.0.2

Info.plist

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -15,7 +15,7 @@
1515
<key>CFBundlePackageType</key>
1616
<string>FMWK</string>
1717
<key>CFBundleShortVersionString</key>
18-
<string>3.0.2</string>
18+
<string>3.0.3</string>
1919
<key>CFBundleSignature</key>
2020
<string>????</string>
2121
<key>CFBundleVersion</key>

Sources/Base/OAuth2AuthConfig.swift

Lines changed: 4 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -18,14 +18,14 @@
1818
// limitations under the License.
1919
//
2020

21-
22-
/**
23-
Simple struct to hold settings describing how authorization appears to the user.
24-
*/
2521
#if os(iOS)
2622
import UIKit
2723
#endif
2824

25+
26+
/**
27+
Simple struct to hold settings describing how authorization appears to the user.
28+
*/
2929
public struct OAuth2AuthConfig {
3030

3131
/// Sub-stuct holding configuration relevant to UI presentation.

Sources/Base/OAuth2AuthRequest.swift

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -80,6 +80,7 @@ open class OAuth2AuthRequest {
8080
/// Custom headers can be set here, they will take precedence over any built-in headers.
8181
open private(set) var headers: [String: String]?
8282

83+
/// Query parameters to use with the request.
8384
open var params = OAuth2RequestParams()
8485

8586

Sources/Flows/OAuth2PasswordGrant.swift

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -66,7 +66,7 @@ open class OAuth2PasswordGrant: OAuth2 {
6666
/// The password to use during authorization.
6767
open var password: String?
6868

69-
// Properties used to handle the native controller
69+
/// Properties used to handle the native controller.
7070
lazy var customAuthorizer: OAuth2CustomAuthorizerUI = OAuth2CustomAuthorizer()
7171

7272
/**

Sources/macOS/OAuth2CustomAuthorizer+macOS.swift

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -32,6 +32,7 @@ public class OAuth2CustomAuthorizer: OAuth2CustomAuthorizerUI {
3232

3333
private var presentedController: NSViewController?
3434

35+
/** Initializer. */
3536
public init() { }
3637

3738

generate-docs.sh

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -6,7 +6,7 @@
66
jazzy \
77
-o "docs" \
88
--min-acl "internal" \
9-
--module-version "3.0.2"
9+
--module-version "3.0.3"
1010

1111
mkdir docs/assets 2>/dev/null
1212
cp assets/* docs/assets/

p2.OAuth2.podspec

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -7,7 +7,7 @@
77

88
Pod::Spec.new do |s|
99
s.name = "p2.OAuth2"
10-
s.version = "3.0.2"
10+
s.version = "3.0.3"
1111
s.summary = "OAuth2 framework for macOS, iOS and tvOS, written in Swift."
1212
s.description = <<-DESC
1313
OAuth2 frameworks for macOS, iOS and tvOS written in Swift.

0 commit comments

Comments
 (0)