https://github.com/ably/api-key-regex
Contains a regex to validate Ably API keys and unit tests to test the regex.
https://github.com/ably/api-key-regex
ably javscript
Last synced: about 1 year ago
JSON representation
Contains a regex to validate Ably API keys and unit tests to test the regex.
- Host: GitHub
- URL: https://github.com/ably/api-key-regex
- Owner: ably
- License: apache-2.0
- Created: 2022-05-17T09:23:11.000Z (about 4 years ago)
- Default Branch: main
- Last Pushed: 2023-10-17T18:39:21.000Z (over 2 years ago)
- Last Synced: 2025-01-18T07:12:01.397Z (over 1 year ago)
- Topics: ably, javscript
- Language: JavaScript
- Homepage:
- Size: 191 KB
- Stars: 0
- Watchers: 6
- Forks: 1
- Open Issues: 2
-
Metadata Files:
- Readme: README.md
- License: LICENSE
Awesome Lists containing this project
README
# API key regex
This repository contains a Javascript function with a regex to validate Ably API keys.
## Ably API key format
Ably API keys have the following format: `.:`, where
- `` 6 base64 characters,
- `` 6 base64 characters,
- `` is either 16 or 43 base64 characters.