Added further dynamic authentication methods

This commit is contained in:
Julius Gruber
2019-08-08 11:05:12 +02:00
parent bcc6daa39f
commit 3b6a20bf67
11 changed files with 12 additions and 70 deletions

View File

@@ -224,8 +224,6 @@ export class AuthService {
* @returns {User}
*/
public retrieveAuthMethods(): Observable<AuthMethodModel[]> {
console.log('auth.service retrieveAuthMethods() was called');
// return this.authRequestService.getRequest('login').pipe(
return this.authRequestService.postToEndpoint('login', {}).pipe(
map((status: AuthStatus) => {
let authMethods: AuthMethodModel[];
@@ -237,8 +235,6 @@ export class AuthService {
)
}
/**
* Create a new user
* @returns {User}