Skip to content

Commit 881e0b1

Browse files
OKTA-242002-JWT iOS SDK: Add Carthage support
1 parent b321760 commit 881e0b1

File tree

1 file changed

+8
-0
lines changed

1 file changed

+8
-0
lines changed

README.md

Lines changed: 8 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -13,12 +13,20 @@ This library handles decoding and validating a JSON Web Token (JWT) issued by an
1313

1414
## Installation
1515

16+
### Cocoapods
17+
1618
OktaJWT is available through [CocoaPods](http://cocoapods.org). To install it, simply add the following line to your Podfile:
1719

1820
```ruby
1921
pod 'OktaJWT'
2022
```
2123

24+
### Carthage
25+
26+
To integrate this SDK into your Xcode project using [Carthage](https://github.com/Carthage/Carthage), specify it in your Cartfile:
27+
28+
github "okta/okta-ios-jwt"
29+
2230
## Usage
2331

2432
This library supports **validating** JWTs by extending the [JSONWebToken](https://github.com/kreactive/JSONWebToken) Swift library. By default, it will fetch the public keys from the OAuth 2.0 `/keys` endpoint of the specified authorization server, validate the JWT signature, and verify the token against given assertions.

0 commit comments

Comments
 (0)