Releases: themost-framework/test
Releases · themost-framework/test
Version 1.0.10
Changelog
- Add script for starting test api
Version 1.0.9
Add cors middleware (#19) * add cors middleware * 1.0.9
Version 1.0.8
Changelog
- A new login page allows interactive login in order to test implicit authorization flow for public clients. A public client may redirect user to login page e.g.
/auth/login/?client_id=9165351833584149&scope=profile&redirect_uri=http%3A%2F%2Flocalhost%3A4200%2Fauth%2Fcallback%20
After login process, user will be redirected back to the specified callback uri with implicit authorization flow params:http://localhost:4200/auth/callback?access_token=DDL8qXMJ5HxQhf4ef...8TLcLbhZWLoV&scope=profile&refresh_token=wxfKeJSdB9kmrpsDBmu...9Pa4W9kB8W
Client application should handleaccess_token
param and start using test api with bearer authorization.
Version 1.0.7
correct themost modules root dependencies (#9)
Version 1.0.6
Export TEST_CLIENT_ID and TEST_CLIENT_SECRET for testing
Version 1.0.5
add license file (#7)
Version 1.0.4
@themost/test
implements two new methods:
- Use
getApplication()
in order to init test api server:
import {getApplication} from '@themost/test';
const app = getApplication();
- Use
serveApplication()
in order to serve test api server:
import {getApplication, serveApplication} from '@themost/test';
const app = getApplication();
const server = serveApplication(app);
Version 1.0.3
correct passport authorization (#4)
Version 1.0.2
update project dependencies (#3)
Version 1.0.1
Update package.json