@Internal @NonInstantiable public final class AuthenticationAssertions extends Object
Modifier and Type | Method and Description |
---|---|
static void |
checkNotNull(Object reference,
String message) |
static void |
checkRequestNotNull(Object request) |
static tech.sirwellington.alchemy.arguments.AlchemyAssertion<tech.aroma.banana.thrift.authentication.service.AuthenticationToken> |
legalToken() |
static tech.sirwellington.alchemy.arguments.AlchemyAssertion<String> |
tokenInRepository(TokenRepository repository) |
static tech.sirwellington.alchemy.arguments.ExceptionMapper<tech.aroma.banana.thrift.exceptions.InvalidArgumentException> |
withMessage(String message) |
public static void checkRequestNotNull(Object request) throws tech.aroma.banana.thrift.exceptions.InvalidArgumentException
tech.aroma.banana.thrift.exceptions.InvalidArgumentException
public static void checkNotNull(Object reference, String message) throws tech.aroma.banana.thrift.exceptions.InvalidArgumentException
tech.aroma.banana.thrift.exceptions.InvalidArgumentException
public static tech.sirwellington.alchemy.arguments.AlchemyAssertion<String> tokenInRepository(@NonNull TokenRepository repository) throws IllegalArgumentException
IllegalArgumentException
public static tech.sirwellington.alchemy.arguments.AlchemyAssertion<tech.aroma.banana.thrift.authentication.service.AuthenticationToken> legalToken()
public static tech.sirwellington.alchemy.arguments.ExceptionMapper<tech.aroma.banana.thrift.exceptions.InvalidArgumentException> withMessage(String message)
Copyright © 2015 Aroma Tech. All rights reserved.