content
stringlengths
263
5.24M
pred_label
stringclasses
1 value
pred_score_pos
float64
0.6
1
package org.apereo.cas.pm.web.flow; import org.apereo.cas.configuration.CasConfigurationProperties; import org.apereo.cas.web.flow.CasWebflowConstants; import org.apereo.cas.web.flow.configurer.AbstractCasWebflowConfigurer; import lombok.val; import org.springframework.context.ConfigurableApplicationContext; import or...
__label__POS
0.986505
package org.apereo.cas.pm.web.flow; import org.apereo.cas.pm.PasswordManagementService; import org.apereo.cas.web.flow.CasWebflowConstants; import lombok.experimental.UtilityClass; import lombok.val; import org.springframework.webflow.execution.RequestContext; import java.util.List; import java.util.Map; /** * Thi...
__label__POS
0.995671
package org.apereo.cas.pm.web.flow; import org.apereo.cas.configuration.CasConfigurationProperties; import org.apereo.cas.trusted.util.MultifactorAuthenticationTrustUtils; import org.apereo.cas.web.flow.CasWebflowConstants; import org.apereo.cas.web.flow.actions.ConsumerExecutionAction; import org.apereo.cas.web.flow....
__label__POS
0.984648
package org.apereo.cas.pm.web.flow; import org.apereo.cas.configuration.CasConfigurationProperties; import org.apereo.cas.web.flow.CasWebflowConstants; import org.apereo.cas.web.flow.configurer.AbstractCasWebflowConfigurer; import lombok.val; import org.springframework.context.ConfigurableApplicationContext; import or...
__label__POS
0.978618
package org.apereo.cas.pm.web.flow; import org.apereo.cas.pm.WeakPasswordException; import org.apereo.cas.web.flow.authentication.CasWebflowExceptionHandler; import lombok.Getter; import lombok.Setter; import org.springframework.webflow.core.collection.LocalAttributeMap; import org.springframework.webflow.execution.Ev...
__label__POS
0.948723
package org.apereo.cas.pm.web.flow.actions; import org.apereo.cas.pm.PasswordResetUrlBuilder; import org.apereo.cas.ticket.AuthenticationAwareTicket; import org.apereo.cas.ticket.registry.TicketRegistry; import org.apereo.cas.web.flow.actions.BaseCasWebflowAction; import org.apereo.cas.web.support.WebUtils; import lom...
__label__POS
0.771272
package org.apereo.cas.pm.web.flow.actions; import org.apereo.cas.util.RandomUtils; import org.apereo.cas.util.function.FunctionUtils; import org.apereo.cas.web.flow.CasWebflowConstants; import org.apereo.cas.web.flow.actions.BaseCasWebflowAction; import org.springframework.webflow.execution.Event; import org.springf...
__label__POS
0.99628
package org.apereo.cas.pm.web.flow.actions; import org.apereo.cas.authentication.Credential; import org.apereo.cas.authentication.credential.UsernamePasswordCredential; import org.apereo.cas.configuration.CasConfigurationProperties; import org.apereo.cas.pm.web.flow.PasswordManagementWebflowUtils; import org.apereo.ca...
__label__POS
0.894252
package org.apereo.cas.pm.web.flow.actions; import org.apereo.cas.authentication.Credential; import org.apereo.cas.authentication.MessageDescriptor; import org.apereo.cas.authentication.support.password.PasswordExpiringWarningMessageDescriptor; import org.apereo.cas.pm.web.flow.PasswordManagementWebflowUtils; import o...
__label__POS
0.867765
package org.apereo.cas.pm.web.flow.actions; import org.apereo.cas.pm.PasswordManagementQuery; import org.apereo.cas.pm.PasswordManagementService; import org.apereo.cas.pm.web.flow.PasswordManagementWebflowUtils; import org.apereo.cas.web.support.WebUtils; import lombok.RequiredArgsConstructor; import lombok.extern.slf...
__label__POS
0.984517
package org.apereo.cas.gauth; import org.apereo.cas.authentication.OneTimeTokenAccount; import lombok.AllArgsConstructor; import lombok.Builder; import lombok.Getter; import lombok.With; import lombok.experimental.SuperBuilder; import lombok.val; import java.util.Locale; /** * This is {@link RedisCompositeKey}. * ...
__label__POS
0.996993
package org.apereo.cas.gauth.token; import org.apereo.cas.otp.repository.token.BaseOneTimeTokenRepository; import org.apereo.cas.redis.core.CasRedisTemplate; import lombok.RequiredArgsConstructor; import lombok.extern.slf4j.Slf4j; import lombok.val; import java.time.Duration; import java.util.Locale; import java.uti...
__label__POS
0.722906
package org.apereo.cas.gauth.credential; import org.apereo.cas.authentication.OneTimeTokenAccount; import org.apereo.cas.gauth.CasGoogleAuthenticator; import org.apereo.cas.gauth.RedisCompositeKey; import org.apereo.cas.redis.core.CasRedisTemplate; import org.apereo.cas.util.crypto.CipherExecutor; import lombok.Data; ...
__label__POS
0.810217
package org.apereo.cas.web.support; import org.apereo.cas.throttle.ThrottledSubmissionHandlerConfigurationContext; import org.apereo.cas.util.CollectionUtils; import org.apereo.cas.util.LdapConnectionFactory; import org.apereo.cas.util.LdapUtils; import lombok.RequiredArgsConstructor; import lombok.extern.slf4j.Slf4j...
__label__POS
0.918401
package org.apereo.cas.web.flow; import org.apereo.cas.config.CasConsentCoreAutoConfiguration; import org.apereo.cas.config.CasConsentWebflowAutoConfiguration; import lombok.val; import org.junit.jupiter.api.Tag; import org.junit.jupiter.api.Test; import org.springframework.boot.autoconfigure.ImportAutoConfiguration; ...
__label__POS
0.90171
package org.apereo.cas.web.flow; import org.apereo.cas.authentication.CoreAuthenticationTestUtils; import org.apereo.cas.consent.ConsentReminderOptions; import org.apereo.cas.util.MockRequestContext; import org.apereo.cas.web.support.WebUtils; import lombok.val; import org.junit.jupiter.api.Tag; import org.junit.jupit...
__label__POS
0.854187
package org.apereo.cas.web.flow; import org.apereo.cas.consent.ConsentEngine; import org.apereo.cas.util.serialization.JacksonObjectMapperFactory; import org.apereo.cas.web.flow.actions.BaseCasWebflowAction; import org.apereo.cas.web.support.WebUtils; import com.fasterxml.jackson.databind.ObjectMapper; import lombok....
__label__POS
0.666901
package org.apereo.cas.web.flow; import org.apereo.cas.configuration.CasConfigurationProperties; import org.apereo.cas.web.flow.configurer.AbstractCasWebflowConfigurer; import lombok.val; import org.springframework.context.ConfigurableApplicationContext; import org.springframework.webflow.definition.registry.FlowDefin...
__label__POS
0.906826
package org.apereo.cas.web.flow; import org.apereo.cas.configuration.CasConfigurationProperties; import org.apereo.cas.web.flow.configurer.AbstractCasWebflowConfigurer; import lombok.val; import org.springframework.context.ConfigurableApplicationContext; import org.springframework.core.Ordered; import org.springframew...
__label__POS
0.993351
package org.apereo.cas.web.flow; import org.apereo.cas.authentication.AuthenticationServiceSelectionPlan; import org.apereo.cas.authentication.attribute.AttributeDefinitionStore; import org.apereo.cas.configuration.CasConfigurationProperties; import org.apereo.cas.consent.ConsentEngine; import org.apereo.cas.consent.C...
__label__POS
0.69931
package org.apereo.cas.web.flow; import org.apereo.cas.authentication.Authentication; import org.apereo.cas.authentication.AuthenticationServiceSelectionPlan; import org.apereo.cas.authentication.attribute.AttributeDefinitionStore; import org.apereo.cas.authentication.principal.Service; import org.apereo.cas.configura...
__label__POS
0.934265
package org.apereo.cas.services; import org.apereo.cas.services.replication.NoOpRegisteredServiceReplicationStrategy; import org.apereo.cas.services.resource.DefaultRegisteredServiceResourceNamingStrategy; import org.apereo.cas.support.oauth.services.OAuthRegisteredService; import org.apereo.cas.support.saml.services....
__label__POS
0.970649
#include "cparse.h" #include <cstring> #include <cstdlib> #include "drafter.h" drafter_serialize_options* c_serialize_json_options() { drafter_serialize_options* result = drafter_init_serialize_options(); drafter_set_format(result, DRAFTER_SERIALIZE_JSON); return result; } char** c_buffer_ptr() { ch...
__label__POS
0.762682
package org.apereo.cas.config; import org.apereo.cas.configuration.CasConfigurationProperties; import org.apereo.cas.configuration.features.CasFeatureModule; import org.apereo.cas.util.crypto.CipherExecutor; import org.apereo.cas.util.spring.boot.ConditionalOnFeatureEnabled; import org.apereo.cas.webauthn.RestfulWebAu...
__label__POS
0.66898
package org.apereo.cas.adaptors.yubikey.dao; import org.apereo.cas.adaptors.yubikey.YubiKeyAccount; import org.apereo.cas.adaptors.yubikey.YubiKeyAccountValidator; import org.apereo.cas.adaptors.yubikey.YubiKeyDeviceRegistrationRequest; import org.apereo.cas.adaptors.yubikey.YubiKeyRegisteredDevice; import org.apereo....
__label__POS
0.94715
package org.apereo.cas.config; import org.apereo.cas.adaptors.yubikey.YubiKeyAccountRegistry; import org.apereo.cas.adaptors.yubikey.YubiKeyAccountValidator; import org.apereo.cas.adaptors.yubikey.dao.DynamoDbYubiKeyAccountRegistry; import org.apereo.cas.adaptors.yubikey.dao.DynamoDbYubiKeyFacilitator; import org.aper...
__label__POS
0.695665
package org.apereo.cas.adaptors.yubikey.dao; import org.apereo.cas.adaptors.yubikey.YubiKeyAccount; import org.apereo.cas.adaptors.yubikey.YubiKeyAccountValidator; import org.apereo.cas.adaptors.yubikey.YubiKeyDeviceRegistrationRequest; import org.apereo.cas.adaptors.yubikey.YubiKeyRegisteredDevice; import org.apereo....
__label__POS
0.986108
package org.apereo.cas.adaptors.yubikey.dao; import org.apereo.cas.adaptors.yubikey.YubiKeyAccount; import org.apereo.cas.adaptors.yubikey.YubiKeyRegisteredDevice; import org.apereo.cas.configuration.model.support.mfa.yubikey.YubiKeyDynamoDbMultifactorProperties; import org.apereo.cas.dynamodb.DynamoDbQueryBuilder; im...
__label__POS
0.904079
package org.apereo.cas.adaptors.x509.web.flow; import org.apereo.cas.util.MockRequestContext; import org.apereo.cas.web.flow.CasWebflowConstants; import lombok.val; import org.junit.jupiter.api.Tag; import org.junit.jupiter.api.Test; import org.springframework.test.context.TestPropertySource; import static org.apereo....
__label__POS
0.872818
package org.apereo.cas.adaptors.x509.web.flow; import org.apereo.cas.adaptors.x509.authentication.CasX509Certificate; import org.apereo.cas.util.MockRequestContext; import org.apereo.cas.web.flow.CasWebflowConstants; import org.apereo.cas.web.flow.X509CertificateCredentialsNonInteractiveAction; import lombok.val; impo...
__label__POS
0.712119
package org.apereo.cas.adaptors.x509.web.extractcert; import org.apereo.cas.adaptors.x509.authentication.RequestHeaderX509CertificateExtractor; import lombok.val; import org.junit.jupiter.api.Tag; import org.junit.jupiter.api.Test; import org.springframework.mock.web.MockHttpServletRequest; import java.security.cert...
__label__POS
0.988342
package org.apereo.cas.web.flow; import org.apereo.cas.adaptors.x509.authentication.principal.X509CertificateCredential; import org.apereo.cas.authentication.Credential; import org.apereo.cas.authentication.adaptive.AdaptiveAuthenticationPolicy; import org.apereo.cas.configuration.CasConfigurationProperties; import or...
__label__POS
0.717736
package org.apereo.cas.web.flow; import org.apereo.cas.configuration.CasConfigurationProperties; import org.apereo.cas.web.flow.actions.BaseCasWebflowAction; import lombok.RequiredArgsConstructor; import lombok.val; import org.springframework.web.util.UriComponentsBuilder; import org.springframework.webflow.execution...
__label__POS
0.996701
package org.apereo.cas.web.tomcat; import org.apereo.cas.configuration.CasConfigurationProperties; import org.apereo.cas.web.flow.X509TomcatServletFactoryInitialAction; import org.apereo.cas.web.flow.configurer.AbstractCasWebflowConfigurer; import lombok.val; import org.springframework.context.ConfigurableApplicationC...
__label__POS
0.996312
package org.apereo.cas.apm; import org.apereo.cas.util.app.ApplicationEntrypointInitializer; import co.elastic.apm.attach.ElasticApmAttacher; import lombok.val; import org.apache.commons.lang3.BooleanUtils; import org.apache.commons.lang3.StringUtils; /** * This is {@link ElasticApmAgentInitializer}. * This callba...
__label__POS
0.90157
package org.apereo.cas.hz; import org.apereo.cas.configuration.model.support.hazelcast.HazelcastClusterProperties; import org.apereo.cas.test.CasTestExtension; import com.hazelcast.config.Config; import com.hazelcast.config.JoinConfig; import com.hazelcast.config.NetworkConfig; import lombok.val; import org.junit.jup...
__label__POS
0.78811
package org.apereo.cas.hz; import org.apereo.cas.configuration.model.support.hazelcast.HazelcastClusterProperties; import org.apereo.cas.configuration.model.support.hazelcast.discovery.HazelcastAzureDiscoveryProperties; import com.hazelcast.azure.AzureDiscoveryStrategyFactory; import com.hazelcast.config.Config; impo...
__label__POS
0.909333
package org.apereo.cas.jdbc; import org.apereo.cas.authentication.attribute.SimpleUsernameAttributeProvider; import org.apereo.cas.authentication.principal.attribute.PersonAttributeDaoFilter; import org.apereo.cas.configuration.support.JpaBeans; import lombok.val; import org.apache.commons.lang3.StringUtils; import or...
__label__POS
0.932744
package org.apereo.cas.jdbc; import org.apereo.cas.configuration.model.support.jdbc.authn.QueryEncodeJdbcAuthenticationProperties; import lombok.val; import org.junit.jupiter.api.Tag; import org.junit.jupiter.api.Test; import java.util.Map; import static org.junit.jupiter.api.Assertions.*; /** * This is {@link Query...
__label__POS
0.991098
package org.apereo.cas.jdbc; import org.apereo.cas.authentication.attribute.SimpleUsernameAttributeProvider; import org.apereo.cas.authentication.principal.attribute.PersonAttributeDaoFilter; import org.apereo.cas.configuration.support.JpaBeans; import lombok.val; import org.apache.commons.lang3.StringUtils; import or...
__label__POS
0.719059
package org.apereo.cas.jdbc; import org.apereo.cas.authentication.AuthenticationHandler; import org.apereo.cas.authentication.CoreAuthenticationUtils; import org.apereo.cas.authentication.principal.PrincipalFactory; import org.apereo.cas.authentication.principal.PrincipalNameTransformerUtils; import org.apereo.cas.aut...
__label__POS
0.988989
package org.apereo.cas.jdbc; import org.apereo.cas.authentication.AuthenticationHandlerExecutionResult; import org.apereo.cas.authentication.credential.UsernamePasswordCredential; import org.apereo.cas.authentication.principal.PrincipalFactory; import org.apereo.cas.configuration.model.support.jdbc.authn.BindJdbcAuthe...
__label__POS
0.79133
package org.apereo.cas.jdbc; import org.apereo.cas.authentication.AuthenticationHandlerExecutionResult; import org.apereo.cas.authentication.credential.UsernamePasswordCredential; import org.apereo.cas.authentication.principal.PrincipalFactory; import org.apereo.cas.configuration.model.support.jdbc.authn.SearchJdbcAut...
__label__POS
0.842497
package org.apereo.cas.jdbc; import org.apereo.cas.authentication.AuthenticationHandlerExecutionResult; import org.apereo.cas.authentication.credential.UsernamePasswordCredential; import org.apereo.cas.authentication.principal.PrincipalFactory; import org.apereo.cas.configuration.model.support.jdbc.authn.ProcedureJdbc...
__label__POS
0.803023
package org.apereo.cas.jdbc; import org.apereo.cas.authentication.attribute.TenantPersonAttributeDaoBuilder; import org.apereo.cas.authentication.principal.attribute.PersonAttributeDao; import org.apereo.cas.configuration.CasConfigurationProperties; import org.apereo.cas.configuration.model.support.jdbc.JdbcPrincipalA...
__label__POS
0.999322
package org.apereo.cas.jdbc; import org.apereo.cas.authentication.attribute.SimplePersonAttributes; import org.apereo.cas.authentication.principal.attribute.PersonAttributeDao; import org.apereo.cas.authentication.principal.attribute.PersonAttributes; import lombok.val; import org.springframework.jdbc.core.ColumnMapRo...
__label__POS
0.850455
package org.apereo.cas.jdbc; import org.apereo.cas.configuration.model.support.jdbc.authn.QueryEncodeJdbcAuthenticationProperties; import org.apereo.cas.util.DigestUtils; import org.apereo.cas.util.function.FunctionUtils; import lombok.RequiredArgsConstructor; import lombok.val; import org.apache.commons.lang3.ArrayUt...
__label__POS
0.975366
@javascript Feature: URI Scenario: Matching HTTP message URI Given I expect "uri" to be "/animals?type=cats" And the actual "uri" is "/animals?type=cats" When Gavel validates the HTTP message Then the actual HTTP message is valid And the "uri" is valid Scenario: Non-matching HTTP message URI ...
__label__POS
0.666835
const { assert } = require('chai'); const getType = require('../../../lib/utils/get-type.js'); describe('getType', () => { describe('can handle native javascript object types', () => { it('when given Array', () => { assert.equal(getType([1, 2]), 'array'); }); it('when given Date', () => { as...
__label__POS
0.772397
package org.apereo.cas.monitor; import com.hazelcast.core.HazelcastInstance; import com.hazelcast.instance.impl.HazelcastInstanceProxy; import com.hazelcast.internal.memory.MemoryStats; import com.hazelcast.map.IMap; import lombok.ToString; import lombok.extern.slf4j.Slf4j; import lombok.val; import org.springframewor...
__label__POS
0.699605
require 'redsnow/object' # The classes in this module should be 1:1 with the Snow Crash Blueprint sourcemap # counterparts (https://github.com/apiaryio/snowcrash/blob/master/src/BlueprintSourcemap.h). module RedSnow module Sourcemap # Base Node - holds @collection class Node attr_accessor :collection ...
__label__POS
0.633249
package org.apereo.cas.impl.token; import lombok.Getter; import lombok.NoArgsConstructor; import lombok.experimental.SuperBuilder; import org.hibernate.annotations.UuidGenerator; import jakarta.persistence.Column; import jakarta.persistence.Entity; import jakarta.persistence.Id; import jakarta.persistence.Table; impor...
__label__POS
0.635144
package org.apereo.cas.web.flow; import org.apereo.cas.configuration.CasConfigurationProperties; import org.apereo.cas.web.flow.configurer.AbstractCasWebflowConfigurer; import lombok.val; import org.springframework.context.ConfigurableApplicationContext; import org.springframework.webflow.definition.registry.FlowDefin...
__label__POS
0.995699
package org.apereo.cas.web.flow; import org.apereo.cas.api.PasswordlessAuthenticationRequest; import org.apereo.cas.api.PasswordlessUserAccount; import lombok.val; import org.apache.commons.lang3.StringUtils; import org.springframework.webflow.execution.RequestContext; import java.io.Serializable; import java.util.O...
__label__POS
0.989619
package org.apereo.cas.web.flow; import org.apereo.cas.authentication.AuthenticationSystemSupport; import org.apereo.cas.authentication.MultifactorAuthenticationTriggerSelectionStrategy; import org.apereo.cas.authentication.principal.PrincipalFactory; import org.apereo.cas.configuration.CasConfigurationProperties; imp...
__label__POS
0.959818
package org.apereo.cas.web.flow; import org.apereo.cas.api.PasswordlessRequestParser; import org.apereo.cas.api.PasswordlessUserAccount; import org.apereo.cas.api.PasswordlessUserAccountStore; import org.apereo.cas.authentication.AuthenticationSystemSupport; import org.apereo.cas.authentication.MultifactorAuthenticati...
__label__POS
0.688413
package org.apereo.cas.web.flow; import org.apereo.cas.api.PasswordlessUserAccount; import org.apereo.cas.api.PasswordlessUserAccountStore; import org.apereo.cas.authentication.AuthenticationSystemSupport; import org.apereo.cas.authentication.MultifactorAuthenticationProvider; import org.apereo.cas.authentication.Mult...
__label__POS
0.70631
package org.apereo.cas.web.flow; import org.apereo.cas.configuration.CasConfigurationProperties; import org.apereo.cas.util.CollectionUtils; import org.apereo.cas.util.spring.beans.BeanSupplier; import org.apereo.cas.web.flow.configurer.AbstractCasWebflowConfigurer; import org.apereo.cas.web.flow.configurer.CasMultifa...
__label__POS
0.717097
package org.apereo.cas.web.flow; import org.apereo.cas.api.PasswordlessUserAccount; import org.apereo.cas.authentication.Authentication; import org.apereo.cas.authentication.AuthenticationSystemSupport; import org.apereo.cas.authentication.CoreAuthenticationUtils; import org.apereo.cas.authentication.DefaultAuthentica...
__label__POS
0.78537
package org.apereo.cas.web.flow; import org.apereo.cas.configuration.model.support.captcha.GoogleRecaptchaProperties; import lombok.experimental.UtilityClass; import lombok.val; import org.apache.commons.lang3.BooleanUtils; import org.springframework.webflow.execution.Event; import org.springframework.webflow.executio...
__label__POS
0.996287
package org.apereo.cas.web.flow; import org.apereo.cas.api.PasswordlessRequestParser; import org.apereo.cas.api.PasswordlessUserAccountStore; import org.apereo.cas.authentication.AuthenticationSystemSupport; import org.apereo.cas.authentication.MultifactorAuthenticationTriggerSelectionStrategy; import org.apereo.cas.a...
__label__POS
0.864693
package org.apereo.cas.web.flow.delegation; import org.apereo.cas.api.PasswordlessUserAccount; import org.apereo.cas.audit.AuditableExecution; import org.apereo.cas.authentication.principal.Service; import org.apereo.cas.multitenancy.TenantExtractor; import org.apereo.cas.pac4j.client.authz.BaseDelegatedClientIdentity...
__label__POS
0.973691
package org.apereo.cas.web.flow.delegation; import org.apereo.cas.api.PasswordlessAuthenticationRequest; import org.apereo.cas.api.PasswordlessUserAccount; import org.apereo.cas.authentication.principal.Service; import org.apereo.cas.ticket.TransientSessionTicket; import org.apereo.cas.web.flow.DelegatedClientAuthenti...
__label__POS
0.901839
/* * Copyright (C) 2025 American Printing House for the Blind * * This program is free software: you can redistribute it and/or modify it * under the terms of the GNU General Public License as published by the Free * Software Foundation, version 3. * * This program is distributed in the hope that it will be usef...
__label__POS
0.882688
package org.apereo.cas.web.flow; import org.apereo.cas.configuration.CasConfigurationProperties; import org.apereo.cas.web.flow.configurer.AbstractCasWebflowConfigurer; import lombok.extern.slf4j.Slf4j; import lombok.val; import org.springframework.context.ConfigurableApplicationContext; import org.springframework.cor...
__label__POS
0.70927
package org.apereo.cas.web.flow.passwordless; import org.apereo.cas.api.PasswordlessAuthenticationRequest; import org.apereo.cas.api.PasswordlessRequestParser; import org.apereo.cas.authentication.credential.BasicIdentifiableCredential; import org.apereo.cas.authentication.surrogate.SurrogateCredentialParser; import o...
__label__POS
0.999373
package org.apereo.cas.web.flow.passwordless; import org.apereo.cas.api.PasswordlessAuthenticationRequest; import org.apereo.cas.authentication.principal.ClientCredential; import org.apereo.cas.authentication.principal.DefaultDelegatedAuthenticationCredentialExtractor; import org.apereo.cas.authentication.surrogate.Su...
__label__POS
0.922691
package org.apereo.cas.web.flow.action; import org.apereo.cas.audit.AuditableContext; import org.apereo.cas.audit.AuditableExecution; import org.apereo.cas.util.function.FunctionUtils; import org.apereo.cas.web.flow.actions.BaseCasWebflowAction; import org.apereo.cas.web.support.WebUtils; import lombok.RequiredArgsCon...
__label__POS
0.97404
package org.apereo.cas.web.flow.pac4j; import org.apereo.cas.authentication.Credential; import org.apereo.cas.authentication.SurrogateAuthenticationPrincipalBuilder; import org.apereo.cas.authentication.principal.DelegatedAuthenticationPreProcessor; import org.apereo.cas.authentication.principal.Principal; import org....
__label__POS
0.978782
/* * Copyright (C) 2025 American Printing House for the Blind * * This program is free software: you can redistribute it and/or modify it * under the terms of the GNU General Public License as published by the Free * Software Foundation, version 3. * * This program is distributed in the hope that it will be usef...
__label__POS
0.651407
package org.apereo.cas.clouddirectory; import org.apereo.cas.configuration.model.support.clouddirectory.AmazonCloudDirectoryProperties; import org.apereo.cas.util.CollectionUtils; import lombok.val; import org.junit.jupiter.api.Tag; import org.junit.jupiter.api.Test; import software.amazon.awssdk.core.SdkBytes; impor...
__label__POS
0.626171
package org.apereo.cas.clouddirectory; import org.apereo.cas.configuration.model.support.clouddirectory.AmazonCloudDirectoryProperties; import lombok.experimental.UtilityClass; import lombok.val; import software.amazon.awssdk.services.clouddirectory.model.AttributeKey; import software.amazon.awssdk.services.clouddir...
__label__POS
0.981528
package com.yubico.core; import com.yubico.webauthn.data.*; import lombok.val; import org.junit.jupiter.api.BeforeEach; import org.junit.jupiter.api.Tag; import org.junit.jupiter.api.Test; import org.springframework.mock.web.MockHttpServletRequest; import org.springframework.mock.web.MockHttpSession; import java.nio....
__label__POS
0.890066
package org.apereo.cas.webauthn; import org.apereo.cas.util.cipher.BaseStringCipherExecutor; /** * This is {@link WebAuthnCredentialRegistrationCipherExecutor}. * * @author Misagh Moayyed * @since 6.3.0 */ public class WebAuthnCredentialRegistrationCipherExecutor extends BaseStringCipherExecutor { public Web...
__label__POS
0.999954
package org.apereo.cas.webauthn; import org.apereo.cas.authentication.credential.OneTimeTokenCredential; import org.apereo.cas.util.function.FunctionUtils; import com.yubico.webauthn.data.ByteArray; import lombok.EqualsAndHashCode; import lombok.Getter; import lombok.NoArgsConstructor; import lombok.Setter; import lo...
__label__POS
0.970397
package org.apereo.cas.webauthn; import com.fasterxml.jackson.annotation.JsonInclude; import com.fasterxml.jackson.core.util.DefaultPrettyPrinter; import com.fasterxml.jackson.databind.DeserializationFeature; import com.fasterxml.jackson.databind.ObjectMapper; import com.fasterxml.jackson.databind.annotation.JsonDeser...
__label__POS
0.954685
package org.apereo.cas.webauthn.logout; import org.apereo.cas.logout.SessionTerminationHandler; import org.apereo.cas.web.support.WebUtils; import com.yubico.core.SessionManager; import lombok.RequiredArgsConstructor; import lombok.val; import org.springframework.security.web.csrf.CsrfTokenRepository; import org.sprin...
__label__POS
0.985418
package org.apereo.cas.webauthn.web; import com.yubico.core.WebAuthnServer; import com.yubico.data.AssertionRequestWrapper; import com.yubico.data.RegistrationRequest; import com.yubico.util.Either; import com.yubico.webauthn.data.ByteArray; import com.yubico.webauthn.data.ResidentKeyRequirement; import io.swagger.v3....
__label__POS
0.632446
package com.yubico.core; import jakarta.servlet.http.HttpServletRequest; import org.apereo.cas.util.function.FunctionUtils; import com.fasterxml.jackson.databind.ObjectMapper; import com.yubico.internal.util.JacksonCodecs; import com.yubico.webauthn.data.ByteArray; import jakarta.servlet.http.HttpSession; import lombo...
__label__POS
0.897195
package com.yubico.core; import jakarta.servlet.http.HttpServletRequest; import org.apereo.cas.util.RandomUtils; import com.yubico.webauthn.data.ByteArray; import lombok.NonNull; import java.util.Objects; import java.util.Optional; public interface SessionManager { /** * The bean name. */ String BEA...
__label__POS
0.721498
package com.yubico.webauthn.attestation; import com.fasterxml.jackson.databind.JsonNode; import com.google.common.collect.ImmutableMap; import com.google.common.collect.Lists; import com.google.common.collect.Maps; import com.yubico.internal.util.CertificateParser; import com.yubico.internal.util.CollectionUtil; impor...
__label__POS
0.618938
package com.yubico.webauthn.attestation.matcher; import com.fasterxml.jackson.databind.JsonNode; import com.google.common.hash.Hashing; import com.yubico.webauthn.attestation.DeviceMatcher; import lombok.val; import java.security.cert.CertificateEncodingException; import java.security.cert.X509Certificate; import jav...
__label__POS
0.997991
package org.apereo.cas.support.pac4j.clients; import org.apereo.cas.config.CasDelegatedAuthenticationOidcAutoConfiguration; import lombok.val; import org.junit.jupiter.api.Nested; import org.junit.jupiter.api.Tag; import org.junit.jupiter.api.Test; import org.pac4j.oauth.client.GitHubClient; import org.springframework...
__label__POS
0.613897
package org.apereo.cas.pac4j.web; import org.apereo.cas.support.pac4j.authentication.clients.DelegatedClientsEndpointContributor; import org.apereo.cas.util.CollectionUtils; import lombok.val; import org.pac4j.core.client.BaseClient; import org.pac4j.oauth.client.OAuth20Client; import org.pac4j.oauth.config.OAuth20Con...
__label__POS
0.765444
package org.apereo.cas.pac4j.web.flow; import org.apereo.cas.configuration.CasConfigurationProperties; import org.apereo.cas.web.flow.CasWebflowConstants; import org.apereo.cas.web.flow.configurer.AbstractCasWebflowConfigurer; import lombok.val; import org.springframework.context.ConfigurableApplicationContext; import...
__label__POS
0.970771
package org.apereo.cas.adaptors.yubikey.registry; import org.apereo.cas.adaptors.yubikey.YubiKeyAccount; import org.apereo.cas.adaptors.yubikey.YubiKeyAccountValidator; import org.apereo.cas.adaptors.yubikey.YubiKeyDeviceRegistrationRequest; import org.apereo.cas.adaptors.yubikey.YubiKeyRegisteredDevice; import lombo...
__label__POS
0.822773
package org.apereo.cas.adaptors.yubikey.registry; import org.apereo.cas.adaptors.yubikey.YubiKeyAccount; import org.apereo.cas.adaptors.yubikey.YubiKeyAccountValidator; import org.apereo.cas.adaptors.yubikey.YubiKeyDeviceRegistrationRequest; import org.apereo.cas.adaptors.yubikey.YubiKeyRegisteredDevice; import lombo...
__label__POS
0.81111
// Protocol Buffers - Google's data interchange format // Copyright 2008 Google Inc. All rights reserved. // http://code.google.com/p/protobuf/ // // Redistribution and use in source and binary forms, with or without // modification, are permitted provided that the following conditions are // met: // // * Redistri...
__label__POS
0.682763
<?php namespace Apiato\Http; use Apiato\Core\Transformers\Transformer; use Apiato\Http\Resources\Collection; use Apiato\Http\Resources\Item; use Illuminate\Http\JsonResponse; use League\Fractal\Manager; use League\Fractal\Scope; use League\Fractal\TransformerAbstract; use Spatie\Fractal\Fractal; use Webmozart\Assert\...
__label__POS
0.614042
<?php namespace Apiato\Http; use Illuminate\Database\Eloquent\Model; use Illuminate\Database\Eloquent\Relations\Relation; use Illuminate\Http\Request; use Illuminate\Support\Str; use Webmozart\Assert\Assert; final readonly class RequestRelation { public function __construct( private Request $request, ...
__label__POS
0.751013
<?php namespace Apiato\Support; use Illuminate\Support\Arr; final class Sanitizer { /** * Sanitize the given source using an array of fields. * * If the field is provided as an integer key, the source value is set only if it exists. * If the field is provided as a string key => default, the s...
__label__POS
0.91948
<?php namespace Apiato\Support; use Illuminate\Support\Traits\ForwardsCalls; use Illuminate\Support\Traits\Macroable; use Vinkla\Hashids\HashidsManager; use Webmozart\Assert\Assert; /** * @mixin HashidsManager */ final class HashidsManagerDecorator { use ForwardsCalls, Macroable { __call as macroCall; ...
__label__POS
0.954754
<?php use Apiato\Foundation\Apiato; use Apiato\Support\HashidsManagerDecorator; use Safe\Exceptions\FilesystemException; if (!function_exists('apiato')) { /** * Get the Apiato instance. */ function apiato(): Apiato { return app(Apiato::class); } } if (!function_exists('shared_path')...
__label__POS
0.886796
/* * Copyright (C) 2025 American Printing House for the Blind * * This program is free software: you can redistribute it and/or modify it * under the terms of the GNU General Public License as published by the Free * Software Foundation, version 3. * * This program is distributed in the hope that it will be usef...
__label__POS
0.645714
import { Account } from "./account"; import { AddChain } from "./add-chain"; import { Balance } from "./balance"; import { ChangeDefaultNetwork } from "./change-default-network"; import { DeclareContract } from "./declare-contract"; import { DeployContract } from "./deploy-contract"; import { EstimateFees } from "./est...
__label__POS
0.600242
<?php namespace Apiato\Generator\Traits; trait ParserTrait { /** * replaces the variables in the path structure with defined values. */ public function parsePathStructure($path, $data): string|array { $path = str_replace(array_map([$this, 'maskPathVariables'], array_keys($data)), array_v...
__label__POS
0.99183
<?php namespace Apiato\Generator\Traits; trait FileSystemTrait { public function generateFile($filePath, $stubContent): bool|int { return $this->fileSystem->put($filePath, $stubContent); } /** * If path is for a directory, create it otherwise do nothing. */ public function creat...
__label__POS
0.931381
package org.apereo.cas.config; import org.apereo.cas.configuration.CasConfigurationProperties; import org.apereo.cas.configuration.features.CasFeatureModule; import org.apereo.cas.util.spring.boot.ConditionalOnFeatureEnabled; import org.springframework.boot.autoconfigure.AutoConfiguration; import org.springframework.b...
__label__POS
0.997016
<?php namespace Apiato\Foundation\Configuration; use Illuminate\Database\Eloquent\Factories\Factory as AbstractFactory; use Illuminate\Database\Eloquent\Model; use Illuminate\Support\Str; /** * @template TModel of Model * @template TFactory of AbstractFactory */ final class Factory { protected static \Closure...
__label__POS
0.810531
<?php namespace Apiato\Foundation\Configuration; use Illuminate\Support\Str; final class Localization { protected static \Closure $namespaceBuilder; /** @var string[] */ protected array $paths = []; public function __construct() { $this->buildNamespaceUsing(function (string $path): strin...
__label__POS
0.990125