id: 1 unit: @main def run() file: key-rotation/src/main/scala/CryptoConfForRotation.scala start line: 24 end line: 89 size: 55 LOC McCabe index: 6 number of parameters: 1 id: 2 unit: def validatedUserIdentity() file: pan-domain-auth-play/src/main/scala/com/gu/pandomainauth/service/OAuth.scala start line: 67 end line: 113 size: 43 LOC McCabe index: 2 number of parameters: 1 id: 3 unit: private[service] def serializeAuthenticatedUser() file: pan-domain-auth-verification/src/main/scala/com/gu/pandomainauth/service/CookieUtils.scala start line: 20 end line: 52 size: 31 LOC McCabe index: 2 number of parameters: 1 id: 4 unit: def invalidUserMessage() file: pan-domain-auth-play/src/main/scala/com/gu/pandomainauth/action/Actions.scala start line: 150 end line: 181 size: 29 LOC McCabe index: 2 number of parameters: 1 id: 5 unit: def authenticateRequest() file: pan-domain-auth-play/src/main/scala/com/gu/pandomainauth/action/Actions.scala start line: 243 end line: 275 size: 27 LOC McCabe index: 8 number of parameters: 1 id: 6 unit: def apply() file: pan-domain-auth-core/src/main/scala/com/gu/pandomainauth/model/PanDomainAuthSettings.scala start line: 35 end line: 62 size: 25 LOC McCabe index: 3 number of parameters: 2 id: 7 unit: def authenticateRequest() file: pan-domain-auth-play/src/main/scala/com/gu/pandomainauth/action/Actions.scala start line: 313 end line: 342 size: 24 LOC McCabe index: 7 number of parameters: 1 id: 8 unit: private def checkStatus() file: pan-domain-auth-verification/src/main/scala/com/gu/pandomainauth/PanDomain.scala start line: 46 end line: 75 size: 21 LOC McCabe index: 11 number of parameters: 6 id: 9 unit: private def cookie() file: pan-domain-auth-play/src/main/scala/com/gu/pandomainauth/action/Actions.scala start line: 97 end line: 124 size: 20 LOC McCabe index: 1 number of parameters: 2 id: 10 unit: def this() file: pan-domain-auth-core/src/main/scala/com/gu/pandomainauth/PanDomainAuthSettingsRefresher.scala start line: 26 end line: 46 size: 18 LOC McCabe index: 1 number of parameters: 6 id: 11 unit: private def authByKeyOrPanda[A]() file: hmac/play/play_2-9/src/main/scala/com/gu/pandahmac/HmacAuthActions.scala start line: 23 end line: 40 size: 17 LOC McCabe index: 5 number of parameters: 3 id: 12 unit: def authenticateRequest() file: pan-domain-auth-play/src/main/scala/com/gu/pandomainauth/action/Actions.scala start line: 23 end line: 79 size: 17 LOC McCabe index: 1 number of parameters: 1 id: 13 unit: def this() file: pan-domain-auth-verification/src/main/scala/com/gu/pandomainauth/PublicSettings.scala start line: 20 end line: 44 size: 16 LOC McCabe index: 1 number of parameters: 4 id: 14 unit: def compare() file: pan-domain-auth-verification/src/main/scala/com/gu/pandomainauth/service/CryptoConf.scala start line: 98 end line: 115 size: 13 LOC McCabe index: 2 number of parameters: 2 id: 15 unit: def loadAndParseSettings() file: pan-domain-auth-verification/src/main/scala/com/gu/pandomainauth/Settings.scala start line: 102 end line: 115 size: 13 LOC McCabe index: 5 number of parameters: 0 id: 16 unit: private def bytesFromBase64() file: pan-domain-auth-verification/src/main/scala/com/gu/pandomainauth/service/CryptoConf.scala start line: 77 end line: 89 size: 12 LOC McCabe index: 3 number of parameters: 1 id: 17 unit: def generateCookie() file: pan-domain-auth-play/src/main/scala/com/gu/pandomainauth/action/Actions.scala start line: 198 end line: 210 size: 12 LOC McCabe index: 1 number of parameters: 1 id: 18 unit: def oAuthResponse[T]() file: pan-domain-auth-play/src/main/scala/com/gu/pandomainauth/service/OAuth.scala start line: 40 end line: 52 size: 12 LOC McCabe index: 4 number of parameters: 1 id: 19 unit: def redirectToOAuthProvider() file: pan-domain-auth-play/src/main/scala/com/gu/pandomainauth/service/OAuth.scala start line: 54 end line: 65 size: 11 LOC McCabe index: 1 number of parameters: 2 id: 20 unit: def monitor() file: pan-domain-auth-verification/src/main/scala/com/gu/pandomainauth/internal/NonActiveKeyMonitoring.scala start line: 14 end line: 24 size: 10 LOC McCabe index: 3 number of parameters: 2 id: 21 unit: private[CryptoConf] def acceptsActiveKeyFrom() file: pan-domain-auth-verification/src/main/scala/com/gu/pandomainauth/service/CryptoConf.scala start line: 33 end line: 43 size: 10 LOC McCabe index: 1 number of parameters: 1 id: 22 unit: private def withGoogle4xxErrorHandling() file: pan-domain-auth-core/src/main/scala/com/gu/pandomainauth/service/Google2FAGroupChecker.scala start line: 49 end line: 57 size: 9 LOC McCabe index: 5 number of parameters: 1 id: 23 unit: private def fetchDiscoveryDocument() file: pan-domain-auth-play/src/main/scala/com/gu/pandomainauth/service/OAuth.scala start line: 24 end line: 33 size: 9 LOC McCabe index: 2 number of parameters: 0 id: 24 unit: def getHMACHeaders() file: hmac/core/src/main/scala/com/gu/pandahmac/HMACClient.scala start line: 10 end line: 17 size: 8 LOC McCabe index: 1 number of parameters: 1 id: 25 unit: private[pandomainauth] def extractSettings() file: pan-domain-auth-verification/src/main/scala/com/gu/pandomainauth/Settings.scala start line: 75 end line: 82 size: 8 LOC McCabe index: 3 number of parameters: 1 id: 26 unit: def flushCookie() file: pan-domain-auth-play/src/main/scala/com/gu/pandomainauth/action/Actions.scala start line: 212 end line: 219 size: 8 LOC McCabe index: 1 number of parameters: 1 id: 27 unit: def generateCookieData() file: pan-domain-auth-verification/src/main/scala/com/gu/pandomainauth/service/CookieUtils.scala start line: 54 end line: 61 size: 7 LOC McCabe index: 2 number of parameters: 2 id: 28 unit: private def signatureInstance() file: pan-domain-auth-verification/src/main/scala/com/gu/pandomainauth/service/Crypto.scala start line: 20 end line: 28 size: 7 LOC McCabe index: 1 number of parameters: 0 id: 29 unit: def setting() file: pan-domain-auth-verification/src/main/scala/com/gu/pandomainauth/service/CryptoConf.scala start line: 54 end line: 63 size: 7 LOC McCabe index: 4 number of parameters: 1 id: 30 unit: def authStatus() file: pan-domain-auth-verification/src/main/scala/com/gu/pandomainauth/PanDomain.scala start line: 38 end line: 44 size: 7 LOC McCabe index: 1 number of parameters: 7 id: 31 unit: def responseWithSystemCookie() file: pan-domain-auth-play/src/main/scala/com/gu/pandomainauth/action/Actions.scala start line: 344 end line: 350 size: 7 LOC McCabe index: 2 number of parameters: 2 id: 32 unit: protected def hasGroup() file: pan-domain-auth-core/src/main/scala/com/gu/pandomainauth/service/Google2FAGroupChecker.scala start line: 59 end line: 64 size: 6 LOC McCabe index: 2 number of parameters: 2 id: 33 unit: def verifySignature() file: pan-domain-auth-verification/src/main/scala/com/gu/pandomainauth/service/Crypto.scala start line: 30 end line: 36 size: 6 LOC McCabe index: 1 number of parameters: 3 id: 34 unit: def publicKeyFor() file: pan-domain-auth-verification/src/main/scala/com/gu/pandomainauth/service/CryptoConf.scala start line: 91 end line: 97 size: 6 LOC McCabe index: 1 number of parameters: 1 id: 35 unit: private def decodeBase64() file: pan-domain-auth-verification/src/main/scala/com/gu/pandomainauth/service/CookiePayload.scala start line: 41 end line: 50 size: 6 LOC McCabe index: 5 number of parameters: 1 id: 36 unit: def readCookie() file: pan-domain-auth-play/src/main/scala/com/gu/pandomainauth/action/Actions.scala start line: 191 end line: 196 size: 6 LOC McCabe index: 1 number of parameters: 1 id: 37 unit: def checkGroups() file: pan-domain-auth-core/src/main/scala/com/gu/pandomainauth/service/Google2FAGroupChecker.scala start line: 79 end line: 83 size: 5 LOC McCabe index: 2 number of parameters: 2 id: 38 unit: def payloadTextVerifiedSignedWith() file: pan-domain-auth-verification/src/main/scala/com/gu/pandomainauth/service/CookiePayload.scala start line: 31 end line: 37 size: 5 LOC McCabe index: 2 number of parameters: 1 id: 39 unit: def checkMultifactor() file: pan-domain-auth-play/src/main/scala/com/gu/pandomainauth/action/Actions.scala start line: 126 end line: 142 size: 5 LOC McCabe index: 1 number of parameters: 1 id: 40 unit: def extractAuth() file: pan-domain-auth-play/src/main/scala/com/gu/pandomainauth/action/Actions.scala start line: 224 end line: 228 size: 5 LOC McCabe index: 1 number of parameters: 1 id: 41 unit: def fromJson() file: pan-domain-auth-play/src/main/scala/com/gu/pandomainauth/service/oAuthModel.scala start line: 11 end line: 16 size: 5 LOC McCabe index: 2 number of parameters: 1 id: 42 unit: protected def hasGroup() file: pan-domain-auth-core/src/main/scala/com/gu/pandomainauth/service/Google2FAGroupChecker.scala start line: 66 end line: 69 size: 4 LOC McCabe index: 1 number of parameters: 2 id: 43 unit: private def hasMoreGroups() file: pan-domain-auth-core/src/main/scala/com/gu/pandomainauth/service/Google2FAGroupChecker.scala start line: 71 end line: 74 size: 4 LOC McCabe index: 2 number of parameters: 1 id: 44 unit: def authByPanda[A]() file: hmac/play/play_2-9/src/main/scala/com/gu/pandahmac/HmacAuthActions.scala start line: 44 end line: 47 size: 4 LOC McCabe index: 1 number of parameters: 2 id: 45 unit: def apiAuthByPanda[A]() file: hmac/play/play_2-9/src/main/scala/com/gu/pandahmac/HmacAuthActions.scala start line: 49 end line: 52 size: 4 LOC McCabe index: 1 number of parameters: 2 id: 46 unit: override def validateUser() file: pan-domain-auth-example/app/controllers/ExampleAuthActions.scala start line: 14 end line: 17 size: 4 LOC McCabe index: 1 number of parameters: 1 id: 47 unit: private def makeConfWith[A, T]() file: pan-domain-auth-verification/src/main/scala/com/gu/pandomainauth/service/CryptoConf.scala start line: 70 end line: 73 size: 4 LOC McCabe index: 2 number of parameters: 1 id: 48 unit: private def conciseList[T]() file: pan-domain-auth-verification/src/main/scala/com/gu/pandomainauth/service/CryptoConf.scala start line: 144 end line: 148 size: 4 LOC McCabe index: 2 number of parameters: 1 id: 49 unit: def generateForPayloadText() file: pan-domain-auth-verification/src/main/scala/com/gu/pandomainauth/service/CookiePayload.scala start line: 52 end line: 55 size: 4 LOC McCabe index: 1 number of parameters: 2 id: 50 unit: def logError() file: pan-domain-auth-verification/src/main/scala/com/gu/pandomainauth/Settings.scala start line: 21 end line: 26 size: 4 LOC McCabe index: 1 number of parameters: 1 id: 51 unit: override def logError() file: pan-domain-auth-verification/src/main/scala/com/gu/pandomainauth/Settings.scala start line: 29 end line: 34 size: 4 LOC McCabe index: 2 number of parameters: 1 id: 52 unit: def loadAndParseSettingsMap() file: pan-domain-auth-verification/src/main/scala/com/gu/pandomainauth/Settings.scala start line: 68 end line: 72 size: 4 LOC McCabe index: 3 number of parameters: 0 id: 53 unit: def start() file: pan-domain-auth-verification/src/main/scala/com/gu/pandomainauth/Settings.scala start line: 97 end line: 100 size: 4 LOC McCabe index: 1 number of parameters: 1 id: 54 unit: override def invokeBlock[A]() file: hmac/play/play_2-9/src/main/scala/com/gu/pandahmac/HmacAuthActions.scala start line: 60 end line: 62 size: 3 LOC McCabe index: 1 number of parameters: 2 id: 55 unit: def validateUser() file: pan-domain-auth-example/app/VerifyExample.scala start line: 34 end line: 36 size: 3 LOC McCabe index: 2 number of parameters: 1 id: 56 unit: def load() file: pan-domain-auth-example/app/di.scala start line: 16 end line: 18 size: 3 LOC McCabe index: 1 number of parameters: 1 id: 57 unit: def inputStreamFetching() file: pan-domain-auth-verification/src/main/scala/com/gu/pandomainauth/S3BucketLoader.scala start line: 15 end line: 18 size: 3 LOC McCabe index: 1 number of parameters: 1 id: 58 unit: def passes() file: pan-domain-auth-verification/src/main/scala/com/gu/pandomainauth/service/CryptoConf.scala start line: 119 end line: 121 size: 3 LOC McCabe index: 2 number of parameters: 2 id: 59 unit: override def passes() file: pan-domain-auth-verification/src/main/scala/com/gu/pandomainauth/service/CryptoConf.scala start line: 122 end line: 124 size: 3 LOC McCabe index: 2 number of parameters: 2 id: 60 unit: override def passes() file: pan-domain-auth-verification/src/main/scala/com/gu/pandomainauth/service/CryptoConf.scala start line: 125 end line: 127 size: 3 LOC McCabe index: 1 number of parameters: 2 id: 61 unit: def sequence: SettingsResult[Seq[A]] = result.foldLeft[SettingsResult[List[A]]]() file: pan-domain-auth-verification/src/main/scala/com/gu/pandomainauth/Settings.scala start line: 58 end line: 60 size: 3 LOC McCabe index: 2 number of parameters: 1 id: 62 unit: def processLogout() file: pan-domain-auth-play/src/main/scala/com/gu/pandomainauth/action/Actions.scala start line: 183 end line: 185 size: 3 LOC McCabe index: 1 number of parameters: 1 id: 63 unit: def readAuthenticatedUser() file: pan-domain-auth-play/src/main/scala/com/gu/pandomainauth/action/Actions.scala start line: 187 end line: 189 size: 3 LOC McCabe index: 1 number of parameters: 1 id: 64 unit: def fromJson() file: pan-domain-auth-play/src/main/scala/com/gu/pandomainauth/service/oAuthModel.scala start line: 28 end line: 30 size: 3 LOC McCabe index: 1 number of parameters: 1 id: 65 unit: def fromJson() file: pan-domain-auth-play/src/main/scala/com/gu/pandomainauth/service/oAuthModel.scala start line: 44 end line: 46 size: 3 LOC McCabe index: 1 number of parameters: 1