Skip to content

Commit

Permalink
Add "features" to README
Browse files Browse the repository at this point in the history
  • Loading branch information
kchung committed Mar 8, 2020
1 parent e2d44fd commit c7bfcc5
Showing 1 changed file with 4 additions and 2 deletions.
6 changes: 4 additions & 2 deletions README.md
Original file line number Diff line number Diff line change
@@ -1,9 +1,11 @@
# MapKit JS Token Generator

Generate long-lived tokens from the CLI that can be used with the MapKit JS's [`authorizationCallback`](https://developer.apple.com/documentation/mapkitjs/creating_and_using_tokens_with_mapkit_js#3138220):
Generate long-lived tokens from the CLI that can be used with the MapKit JS's [`authorizationCallback`](https://developer.apple.com/documentation/mapkitjs/creating_and_using_tokens_with_mapkit_js#3138220).

> Setting `authorizationCallback` to a function that returns a token as a string is useful for local development, or if you want to use a long-lived token with MapKit JS. Sign a token locally on your development machine with an expiration, then use the token directly in your code. Whether you are using a short-lived or long-lived token, setting the origin claim is always recommended.
> Setting `authorizationCallback` to a function that returns a token as a string is useful for local development, or if you want to use a long-lived token with MapKit JS. Sign a token locally on your development machine with an expiration, then use the token directly in your code.
### Features
* Verifies if the token works against MapKit servers

## Usage

Expand Down

0 comments on commit c7bfcc5

Please sign in to comment.