Interface AuthApi
@Consumes("application/json")
@Path("/auth")
public interface AuthApi
Provides access to the Keystone Authentication API.
-
Method Summary
Modifier and TypeMethodDescriptionValidate a token and, if it is valid, return access information regarding the tenant (though not the service catalog).getUserOfToken
(String token) Validate a token and, if it is valid, return access information regarding the tenant (though not the service catalog).boolean
Validate a token.
-
Method Details
-
get
Validate a token and, if it is valid, return access information regarding the tenant (though not the service catalog). -
getUserOfToken
@Named("token:getuser") @GET @Path("/tokens") @Nullable User getUserOfToken(@PathParam("token") String token) Validate a token and, if it is valid, return access information regarding the tenant (though not the service catalog). -
isValid
Validate a token. This is a high-performance variant of the #getToken() call that does not return any further information.
-