1.0.35 • Published 4 years ago

apple_secret_generator v1.0.35

Weekly downloads
3
License
MIT
Repository
github
Last release
4 years ago

apple_secret_generator

Simple Apple client secret key generator for javascript

Getting Started

Installing

npm install apple_secret_generator

Usage

const aps = require("apple_secret_generator");

const token = aps.generate({
  keyFileLocation: "./AppleLoginAuthKey.p8", // put generated p8 file directory
  expires: 180, // default is 180 days, apple allows expire date until 180 days 
  team_id: process.env.TEAM_ID, // App ID Prefix's TEAM ID
  identifier: process.env.IDENTIFIER, // Services IDs IDNETIFIER
  key_id: process.env.KEY_ID, // Key ID
});

console.log(token);

Built With

Authors

License

This project is licensed under the MIT License - see the LICENSE.md file for details

1.0.35

4 years ago

1.0.34

4 years ago

1.0.32

4 years ago

1.0.31

4 years ago

1.0.3

4 years ago

1.0.2

4 years ago

1.0.1

4 years ago

1.0.0

4 years ago