<reponame>th3cyb3rc0p/securityheaders<gh_stars>100-1000
from securityheaders.checkers import Checker
from securityheaders.models.cors.allowcredentials import AccessControlAllowCredentials

class AccessControlAllowCredentialsChecker(Checker):
    def __init__(self):
        pass

    def getallowcreds(self, headers):
        return self.extractheader(headers, AccessControlAllowCredentials)

from securityheaders.checkers import Checker
from securityheaders.models.cors.allowcredentials import AccessControlAllowCredentials

class AccessControlAllowCredentialsChecker(Checker):
    def __init__(self):
        pass

    def getallowcreds(self, headers):
        return self.extractheader(headers, AccessControlAllowCredentials)