keygen-sh / keygen-api

Keygen is a fair source software licensing and distribution API built with Ruby on Rails. For developers, by developers.
https://keygen.sh
Other
793 stars 51 forks source link

Rename activation token to license token #412

Open ezekg opened 3 years ago

ezekg commented 3 years ago

Use case has evolved over time to allow much more than just machine activation and deactivation. I think a rename is warranted especially with #411 coming up. The license token generate endpoint should accept a type parameter, and default to activation-token for backwards compatibility.

ezekg commented 3 years ago

Let's do something like this, moving to a v4 token format:

lic/6171564a4a59e5f3879c0584ebe92ce3v4
ezekg commented 2 years ago

I also think I’d like to include the first n chars of the bearer’s ID in the token.

license/1df10411-6171564a4a59e5f3879c0584ebe92ce3v4