@Test public void testLogOut() throws Exception { boolean result = defaultAuthentication.logOut(null); assertThat(result, is(true)); result = defaultAuthentication.logOut("ANYTHING"); assertThat(result, is(true)); }
@Override public boolean logOut(final String tokenHeader) { return true; }
DefaultAuthentication implements Authentication { @Override public boolean logOut(final String tokenHeader) { return true; } }
DefaultAuthentication implements Authentication { @Override public boolean logOut(final String tokenHeader) { return true; } @Inject  DefaultAuthentication(final UserDirectory userDirectory); }
DefaultAuthentication implements Authentication { @Override public boolean logOut(final String tokenHeader) { return true; } @Inject  DefaultAuthentication(final UserDirectory userDirectory); @Override LoginToken logIn(final String authHeader); @Override LoginToken verifyToken(final String tokenHeader); @Override boolean logOut(final String tokenHeader); @Override UserInfo getUserExists(final String userEmail); }
DefaultAuthentication implements Authentication { @Override public boolean logOut(final String tokenHeader) { return true; } @Inject  DefaultAuthentication(final UserDirectory userDirectory); @Override LoginToken logIn(final String authHeader); @Override LoginToken verifyToken(final String tokenHeader); @Override boolean logOut(final String tokenHeader); @Override UserInfo getUserExists(final String userEmail); static final String BASIC; static final String EMPTY; }