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}`;
|
|
|
|
|
}
|
|
|
|
|
|
2020-07-24 14:37:50 -04:00
|
|
|
buildAuthEndpointURL() {
|
|
|
|
|
return '/authenticate';
|
|
|
|
|
}
|
2020-09-16 14:29:02 -04:00
|
|
|
|
2020-07-24 14:37:50 -04:00
|
|
|
buildDeauthEndpointURL() {
|
|
|
|
|
return '/deauthenticate';
|
|
|
|
|
}
|
2020-07-24 11:15:40 -04:00
|
|
|
}
|