Class DatarouterAccountApiKeyPredicate

java.lang.Object
io.datarouter.web.dispatcher.ApiKeyPredicate
io.datarouter.auth.service.DatarouterAccountApiKeyPredicate

@Singleton
public class DatarouterAccountApiKeyPredicate
extends io.datarouter.web.dispatcher.ApiKeyPredicate
  • Constructor Summary

    Constructors 
    Constructor Description
    DatarouterAccountApiKeyPredicate​(DatarouterAccountCredentialService datarouterAccountApiKeyService, DatarouterAccountCounters datarouterAccountCounters)  
    DatarouterAccountApiKeyPredicate​(java.lang.String headerName, DatarouterAccountCredentialService datarouterAccountCredentialService, DatarouterAccountCounters datarouterAccountCounters)  
  • Method Summary

    Modifier and Type Method Description
    java.util.Optional<java.lang.String> check​(java.util.Optional<java.lang.String> endpoint, java.lang.String apiKeyCandidate)  
    io.datarouter.util.tuple.Pair<java.lang.Boolean,​java.lang.String> innerCheck​(io.datarouter.web.dispatcher.DispatchRule rule, javax.servlet.http.HttpServletRequest request, java.lang.String apiKeyCandidate)  

    Methods inherited from class io.datarouter.web.dispatcher.ApiKeyPredicate

    check, obfuscate

    Methods inherited from class java.lang.Object

    clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait