Files
threshold-ui/addons/auth/tests/dummy/app/authenticators/password.js
T

15 lines
353 B
JavaScript
Raw Normal View History

2020-07-24 11:15:40 -04:00
import PasswordAuthenticator from 'auth/authenticators/password';
export default class ApplicationPasswordAuthenticator extends PasswordAuthenticator {
2020-09-22 10:55:32 -04:00
buildTokenValidationEndpointURL(id) {
return `/validate/${id}`;
}
buildAuthEndpointURL() {
return '/authenticate';
}
2020-09-16 14:29:02 -04:00
buildDeauthEndpointURL() {
return '/deauthenticate';
}
2020-07-24 11:15:40 -04:00
}