Interface AuthApi


@Consumes("application/json") @Path("/auth") public interface AuthApi
Provides access to the Keystone Authentication API.
  • Method Summary

    Modifier and Type
    Method
    Description
    get(String token)
    Validate a token and, if it is valid, return access information regarding the tenant (though not the service catalog).
    Validate a token and, if it is valid, return access information regarding the tenant (though not the service catalog).
    boolean
    isValid(String token)
    Validate a token.
  • Method Details

    • get

      @Named("token:get") @GET @Path("/tokens") @Nullable Token get(@PathParam("token") String token)
      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

      @Named("token:check") @HEAD @Path("/tokens") boolean isValid(@PathParam("token") String token)
      Validate a token. This is a high-performance variant of the #getToken() call that does not return any further information.