16 lines
353 B
JavaScript
16 lines
353 B
JavaScript
import PasswordAuthenticator from 'auth/authenticators/password';
|
|
|
|
export default class ApplicationPasswordAuthenticator extends PasswordAuthenticator {
|
|
buildTokenValidationEndpointURL(id) {
|
|
return `/validate/${id}`;
|
|
}
|
|
|
|
buildAuthEndpointURL() {
|
|
return '/authenticate';
|
|
}
|
|
|
|
buildDeauthEndpointURL() {
|
|
return '/deauthenticate';
|
|
}
|
|
}
|