public interface Authentication
The provided token must contain the following items:
scheme: a string defining the authentication scheme.principal: The security principal, the format of the value depends on the authentication
scheme.credentials: The credentials corresponding to the principal, the format of the
value depends on the authentication scheme.
For updating the credentials the new credentials is supplied with the key new_credentials.
| Modifier and Type | Method and Description |
|---|---|
AuthenticationResult |
authenticate(Map<String,Object> authToken)
Authenticate the provided token.
|
AuthenticationResult authenticate(Map<String,Object> authToken) throws AuthenticationException
authToken - The token to be authenticated.AuthenticationException - If authentication failed.Copyright © 2002–2017 The Neo4j Graph Database Project. All rights reserved.