content
stringlengths
263
5.24M
pred_label
stringclasses
1 value
pred_score_pos
float64
0.6
1
package io.apicurio.registry.storage.impl.sql.mappers; import io.apicurio.registry.storage.dto.SearchedGroupDto; import io.apicurio.registry.storage.impl.sql.RegistryContentUtils; import io.apicurio.registry.storage.impl.sql.jdb.RowMapper; import java.sql.ResultSet; import java.sql.SQLException; public class Searche...
__label__POS
0.998716
package org.apereo.cas.config; import org.apereo.cas.authentication.bypass.AuthenticationMultifactorAuthenticationProviderBypassEvaluator; import org.apereo.cas.authentication.bypass.CredentialMultifactorAuthenticationProviderBypassEvaluator; import org.apereo.cas.authentication.bypass.DefaultChainingMultifactorAuthen...
__label__POS
0.883272
<?php declare(strict_types = 1); namespace ApiGen\Info; use ApiGen\Index\Index; use PHPStan\PhpDocParser\Ast\PhpDoc\PhpDocTextNode; use PHPStan\PhpDocParser\Ast\Type\TypeNode; use function array_values; use function count; class ParameterInfo { /** @var string */ public string $name; /** @var int */ public in...
__label__POS
0.830085
package io.apicurio.registry.storage.impl.sql.mappers; import io.apicurio.registry.content.ContentHandle; import io.apicurio.registry.storage.dto.ContentWrapperDto; import io.apicurio.registry.storage.impl.sql.RegistryContentUtils; import io.apicurio.registry.storage.impl.sql.jdb.RowMapper; import java.sql.ResultSet;...
__label__POS
0.993202
<?php declare(strict_types = 1); namespace ApiGen\Info; use ApiGen\Index\Index; use ApiGen\Info\Traits\HasGenericParameters; use PHPStan\PhpDocParser\Ast\PhpDoc\PhpDocTextNode; use PHPStan\PhpDocParser\Ast\Type\TypeNode; use function count; use function strtolower; class MethodInfo extends MemberInfo { use HasGen...
__label__POS
0.757517
<?php declare(strict_types = 1); namespace ApiGen\Info; use ApiGen\Index\Index; use ApiGen\Info\Traits\HasGenericParameters; use ApiGen\Info\Traits\HasLineLocation; use ApiGen\Info\Traits\HasTags; abstract class ClassLikeInfo implements ElementInfo { use HasTags; use HasLineLocation; use HasGenericParameters; ...
__label__POS
0.850488
package apigee import ( "fmt" "strconv" "strings" ) // Revision represents a revision number. Edge returns rev numbers in string form. // This marshals and unmarshals between that format and int. type Revision int // MarshalJSON implements the json.Marshaler interface. It marshals from // a Revision holding an in...
__label__POS
0.680455
<?php declare(strict_types = 1); namespace ApiGen\Index; use ApiGen\Info\ClassInfo; use ApiGen\Info\ElementInfo; use ApiGen\Info\EnumInfo; use ApiGen\Info\FunctionInfo; use ApiGen\Info\InterfaceInfo; use ApiGen\Info\NameInfo; use ApiGen\Info\TraitInfo; class NamespaceIndex implements ElementInfo { /** @var ClassIn...
__label__POS
0.956912
<?php declare(strict_types = 1); namespace ApiGen\Index; use ApiGen\Info\ClassInfo; use ApiGen\Info\ClassLikeInfo; use ApiGen\Info\EnumInfo; use ApiGen\Info\FunctionInfo; use ApiGen\Info\InterfaceInfo; use ApiGen\Info\TraitInfo; class Index { /** @var FileIndex[] indexed by [filePath] */ public array $files = [];...
__label__POS
0.999098
<?php declare(strict_types = 1); namespace ApiGen\Analyzer; use ApiGen\Info\ClassLikeInfo; use ApiGen\Info\FunctionInfo; use ApiGen\Info\MemberInfo; use PhpParser\Node; use PHPStan\PhpDocParser\Ast\PhpDoc\PhpDocTagValueNode; class Filter { /** @var int */ protected int $excludedVisibilityMask = 0; /** * @par...
__label__POS
0.909084
<?php declare(strict_types = 1); namespace ApiGen\Analyzer; use ApiGen\Info\ClassLikeInfo; use ApiGen\Info\ClassLikeReferenceInfo; use ApiGen\Info\ErrorInfo; use ApiGen\Info\FunctionInfo; use ApiGen\Info\MissingInfo; use ApiGen\Info\NameInfo; use ApiGen\Scheduler; use Symfony\Component\Console\Helper\ProgressBar; c...
__label__POS
0.92485
package org.apereo.cas; import org.apereo.cas.config.RestfulPropertySourceLocator; import org.apereo.cas.util.MockWebServer; import lombok.val; import org.junit.jupiter.api.Tag; import org.junit.jupiter.api.Test; import org.springframework.mock.env.MockEnvironment; import java.util.Map; import static org.junit.jupiter...
__label__POS
0.981133
<?php declare(strict_types = 1); namespace ApiGen\Renderer\Latte; use Latte; use function is_file; class LatteCascadingLoader implements Latte\Loader { /** * @param string[] $baseDirs */ public function __construct( protected array $baseDirs, protected Latte\Loader $inner = new Latte\Loaders\FileLoader()...
__label__POS
0.755812
package io.apicurio.registry.storage.impl.kafkasql.messages; import io.apicurio.registry.storage.RegistryStorage; import io.apicurio.registry.storage.impl.kafkasql.AbstractMessage; import lombok.AllArgsConstructor; import lombok.Builder; import lombok.EqualsAndHashCode; import lombok.Getter; import lombok.NoArgsConstr...
__label__POS
0.780096
@End-to-EndTests Feature: As a Client App I want to get an access token from an identity provider So that I can retrieve different types of information Scenario: User Authorizes Given I navigate to the authorize page When I sign in and consent Then I am redirected to the Client App And I receiv...
__label__POS
0.976793
@InitiateAuthentication Feature: As a Client App I want to get an authorization code from an identity provider So that I can retrieve an access_token and id_token Scenario: User authorizes client app to access protected resources Given I navigate to the authorize page When I sign in and...
__label__POS
0.996905
@IntrospectionEndpoint Feature: As a Client App I want ot validate an access_token using the Introspection endpoint exposed by an identity provider Scenario: Client App Accesses Introspection Endpoint Given I have basic authentication credentials `clientId` and `clientSecret` And I se...
__label__POS
0.979091
@TokenIssuance Feature: As a Client App I want to get an access_token and id_token from an identity provider So that I can retrieve different types of information Scenario: Generate Access Token Given I have basic authentication credentials `clientId` and `clientSecret` And I set form p...
__label__POS
0.935167
package io.apicurio.registry.storage.impl.kafkasql.messages; import io.apicurio.registry.model.BranchId; import io.apicurio.registry.model.GA; import io.apicurio.registry.storage.RegistryStorage; import io.apicurio.registry.storage.impl.kafkasql.AbstractMessage; import lombok.AllArgsConstructor; import lombok.Builder;...
__label__POS
0.643868
package io.apicurio.registry.storage.impl.kafkasql.messages; import io.apicurio.registry.storage.RegistryStorage; import io.apicurio.registry.storage.impl.kafkasql.AbstractMessage; import io.apicurio.registry.types.VersionState; import lombok.AllArgsConstructor; import lombok.Builder; import lombok.EqualsAndHashCode; ...
__label__POS
0.615321
package io.apicurio.registry.storage.impl.kafkasql.serde; import com.fasterxml.jackson.annotation.JsonInclude.Include; import com.fasterxml.jackson.databind.ObjectMapper; import io.apicurio.registry.storage.impl.kafkasql.KafkaSqlMessage; import org.apache.commons.io.output.UnsynchronizedByteArrayOutputStream; import o...
__label__POS
0.61397
package io.apicurio.registry.storage.impl.kafkasql.serde; import com.fasterxml.jackson.databind.DeserializationFeature; import com.fasterxml.jackson.databind.ObjectMapper; import io.apicurio.registry.storage.impl.kafkasql.KafkaSqlMessageKey; import org.apache.kafka.common.serialization.Deserializer; import org.slf4j.L...
__label__POS
0.784114
package io.apicurio.registry.storage.impl.kafkasql.serde; import com.fasterxml.jackson.annotation.JsonInclude.Include; import com.fasterxml.jackson.databind.ObjectMapper; import io.apicurio.registry.storage.impl.kafkasql.KafkaSqlMessageKey; import org.apache.commons.io.output.UnsynchronizedByteArrayOutputStream; impor...
__label__POS
0.641596
package io.apicurio.registry.storage.impl.kafkasql.serde; import io.apicurio.registry.storage.impl.kafkasql.KafkaSqlMessage; import io.apicurio.registry.storage.impl.kafkasql.messages.*; import jakarta.enterprise.context.ApplicationScoped; import java.util.HashMap; import java.util.Map; @ApplicationScoped public cla...
__label__POS
0.636581
<?php declare(strict_types = 1); namespace ApiGenTests\Data\Features\Php50\FullObjectModel; final class MyClass extends MyClassParent implements MyInterface { const A = 1; /** @var int */ public static $aStatic = 1; /** @var string|null */ protected static $bStatic = null; /** @var MyInterface */ private s...
__label__POS
0.999111
@pkce @token Feature: As a Client App I want to access the protected resource of an API So that I can retrieve different types of information Scenario: User Authorizes Given I navigate to the authorize page When I sign in and consent Then I am redirected to the Client App And I receive an auth ...
__label__POS
0.806025
@pkce @token Feature: As a Client App I want to access the protected resource of an API So that I can retrieve different types of information Scenario: User Authorizes Given I navigate to the authorize page When I sign in and consent Then I am redirected to the Client App And I receive an auth ...
__label__POS
0.995077
@token Feature: As a Client App I want to access the protected resource of an API So that I can retrieve different types of information Scenario: User Authorizes Given I navigate to the authorize page When I sign in and consent Then I am redirected to the Client App And I receive an auth code i...
__label__POS
0.729253
@token Feature: As a Client App I want to access the protected resource of an API So that I can retrieve different types of information Scenario: User Authorizes Given I navigate to the authorize page When I sign in and consent Then I am redirected to the Client App And I receive an auth code i...
__label__POS
0.995518
@pkce @end2end Feature: As a Client App I want to access the protected resource of an API So that I can retrieve different types of information Scenario: User Authorizes Given I navigate to the authorize page When I sign in and consent Then I am redirected to the Client App And I receive an aut...
__label__POS
0.994686
@authorize Feature: As a Client App I want to access the protected resource of an API So that I can retrieve different types of information Scenario: I should get an error if client_id is missing or invalid When I GET /authorize?client_id=xxx&redirect_uri=https://mocktarget.apigee.net/echo&response_type=co...
__label__POS
0.994833
@pkce @authorize Feature: As a Client App I want to access the protected resource of an API So that I can retrieve different types of information Scenario: I should get an error if client_id is missing or invalid When I GET /authorize?client_id=xxx&redirect_uri=https://mocktarget.apigee.net/echo&response_t...
__label__POS
0.996942
@end2end Feature: As a Client App I want to access the protected resource of an API So that I can retrieve different types of information Scenario: User Authorizes Given I navigate to the authorize page When I sign in and consent Then I am redirected to the Client App And I receive an auth code...
__label__POS
0.996117
package io.apicurio.registry.client.auth; import io.vertx.core.Vertx; import io.vertx.ext.auth.oauth2.OAuth2Auth; import io.vertx.ext.auth.oauth2.OAuth2FlowType; import io.vertx.ext.auth.oauth2.OAuth2Options; import io.vertx.ext.auth.oauth2.Oauth2Credentials; import io.vertx.ext.web.client.OAuth2WebClient; import io.v...
__label__POS
0.97186
package org.apereo.cas.audit; import org.apereo.cas.audit.spi.AbstractAuditTrailManager; import lombok.RequiredArgsConstructor; import lombok.Setter; import org.apereo.inspektr.audit.AuditActionContext; import java.util.List; import java.util.Map; /** * This is {@link DynamoDbAuditTrailManager}. * * @author Misa...
__label__POS
0.978281
package org.apereo.cas.audit; import org.apereo.cas.audit.spi.AbstractAuditTrailManager; import org.apereo.cas.configuration.model.support.dynamodb.AuditDynamoDbProperties; import org.apereo.cas.dynamodb.DynamoDbQueryBuilder; import org.apereo.cas.dynamodb.DynamoDbTableUtils; import org.apereo.cas.util.CollectionUtils...
__label__POS
0.910756
package io.apicurio.registry.serde.jsonschema; import org.apache.kafka.common.serialization.Deserializer; import org.apache.kafka.common.serialization.Serde; import org.apache.kafka.common.serialization.Serializer; import java.util.Map; /** * Wraps the JsonSchemaKafkaSerializer and JsonSchemaKafkaDeserializer. */ ...
__label__POS
0.983585
package io.apicurio.registry.serde.jsonschema; import com.networknt.schema.JsonSchema; import io.apicurio.registry.resolver.SchemaResolver; import io.apicurio.registry.resolver.client.RegistryClientFacade; import io.apicurio.registry.resolver.strategy.ArtifactReferenceResolverStrategy; import io.apicurio.registry.reso...
__label__POS
0.712176
package io.apicurio.registry.serde.avro; import io.apicurio.registry.serde.headers.KafkaSerdeHeaders; import io.apicurio.registry.utils.IoUtil; import org.apache.kafka.common.header.Header; import org.apache.kafka.common.header.Headers; import org.apache.kafka.common.header.internals.RecordHeader; public class AvroSe...
__label__POS
0.96832
package io.apicurio.registry.serde.avro; import org.apache.kafka.common.serialization.Deserializer; import org.apache.kafka.common.serialization.Serde; import org.apache.kafka.common.serialization.Serializer; import java.util.Map; /** * Wraps the AvroKafkaSerializer and AvroKafkaDeserializer. */ public class AvroS...
__label__POS
0.983719
package org.apereo.cas.trusted.authentication.storage; import org.apereo.cas.jpa.AbstractJpaEntityFactory; import org.apereo.cas.trusted.authentication.api.MultifactorAuthenticationTrustRecord; import org.apereo.cas.trusted.authentication.storage.generic.JpaMultifactorAuthenticationTrustRecord; import org.apereo.cas.t...
__label__POS
0.999911
package org.apereo.cas.trusted.authentication.storage.generic; import org.apereo.cas.trusted.authentication.api.MultifactorAuthenticationTrustRecord; import lombok.Getter; import jakarta.persistence.DiscriminatorValue; import jakarta.persistence.Entity; import jakarta.persistence.GeneratedValue; import jakarta.persist...
__label__POS
0.670266
@TokenRevocationApp Feature: As an oauth admin I want to use a token revocation service based on application names So that I can invalidate previously issued access tokens before their expiration Scenario: [Helper] Obtain OAuth Access Token Given I set form parameters to |parameter|value| |gran...
__label__POS
0.976646
package io.apicurio.registry.serde.config; import java.util.HashMap; import java.util.Map; import static io.apicurio.registry.serde.config.KafkaSerdeConfig.ENABLE_HEADERS; import static io.apicurio.registry.serde.config.KafkaSerdeConfig.ENABLE_HEADERS_DEFAULT; import static io.apicurio.registry.serde.config.KafkaSerd...
__label__POS
0.925343
package io.apicurio.registry.serde.headers; import io.apicurio.registry.serde.config.KafkaSerdeConfig; import io.apicurio.registry.utils.IoUtil; import org.apache.kafka.common.header.Header; import org.apache.kafka.common.header.Headers; import java.util.Map; /** * Common utility class for serializers and deseriali...
__label__POS
0.918126
package io.apicurio.registry.serde.headers; import io.apicurio.registry.serde.config.SerdeConfig; import java.util.HashMap; import java.util.Map; import static io.apicurio.registry.serde.config.KafkaSerdeConfig.*; import static io.apicurio.registry.serde.headers.KafkaSerdeHeaders.*; import static java.util.Map.entry...
__label__POS
0.665621
package io.apicurio.registry.serde.headers; /** * Contains all of the header names used when serde classes are configured to pass information via headers * instead of via the message payload. Note that these header names can be overridden via configuration. */ public class KafkaSerdeHeaders { public static fin...
__label__POS
0.999449
package org.apereo.cas.services; import org.apereo.cas.authentication.principal.ShibbolethCompatiblePersistentIdGenerator; import lombok.val; import org.apache.commons.lang3.StringUtils; import org.junit.jupiter.api.Tag; import org.junit.jupiter.api.Test; import org.springframework.context.support.StaticApplicationCo...
__label__POS
0.981412
describe Order do context "attributes" do [:address_one, :address_two, :city, :country, :number, :state, :status, :token, :transaction_id, :zip, :shipping, :tracking_number, :name, :price, :phone, :expiration ].each do |property| it { should allow_mass_assignment_of property } en...
__label__POS
0.907731
package io.apicurio.registry.serde.protobuf; import com.google.protobuf.Message; import io.apicurio.registry.resolver.SchemaResolver; import io.apicurio.registry.resolver.client.RegistryClientFacade; import io.apicurio.registry.resolver.strategy.ArtifactReferenceResolverStrategy; import io.apicurio.registry.serde.Kafk...
__label__POS
0.688008
package io.apicurio.registry.serde.protobuf; import com.google.protobuf.Message; import org.apache.kafka.common.serialization.Deserializer; import org.apache.kafka.common.serialization.Serde; import org.apache.kafka.common.serialization.Serializer; import java.util.Map; /**** * Wraps the ProtobufKafkaSerializer and...
__label__POS
0.910193
package io.apicurio.registry.serde.protobuf; import io.apicurio.registry.serde.headers.MessageTypeSerdeHeaders; import io.apicurio.registry.utils.IoUtil; import org.apache.kafka.common.header.Header; import org.apache.kafka.common.header.Headers; import java.util.Map; public class ProtobufSerdeHeaders extends Messag...
__label__POS
0.987446
package io.apicurio.registry.serde.avro; import org.apache.pulsar.client.api.Schema; import org.apache.pulsar.common.schema.SchemaInfo; import org.apache.pulsar.common.schema.SchemaType; public class AvroPulsarSerdeSchema<T> implements Schema<T> { private final AvroPulsarSerde<T> serde; public AvroPulsarSer...
__label__POS
0.883992
package io.apicurio.registry.serde.avro; import io.apicurio.registry.serde.config.SerdeConfig; import org.apache.pulsar.functions.api.SerDe; /** * Wraps the AvroKafkaSerializer and AvroKafkaDeserializer. */ public class AvroPulsarSerde<T> implements SerDe<T>, AutoCloseable { final private AvroSerializer<T> ser...
__label__POS
0.98612
#include <string.h> #include <stdlib.h> #include <ctype.h> char* find_common_prefix(const char* s1, const char* s2) { int min_length = strlen(s1) < strlen(s2) ? strlen(s1) : strlen(s2); char* prefix = (char*)malloc(min_length + 1); int prefix_len = 0; for (int i = 0; i < min_length; i++) { ...
__label__POS
0.81722
#include <pybind11/pybind11.h> #include <pybind11/stl.h> // Add this line for std::vector conversion #include "utils.h" namespace py = pybind11; PYBIND11_MODULE(c_utils, m) { m.doc() = "C implementations of string utility functions"; m.def( "find_common_prefix", [](const std::string& s1, const std::...
__label__POS
0.684146
package io.apicurio.registry.serde.config; import java.util.HashMap; import java.util.Map; import static io.apicurio.registry.serde.config.SerdeConfig.FALLBACK_ARTIFACT_PROVIDER; import static io.apicurio.registry.serde.config.SerdeConfig.FALLBACK_ARTIFACT_PROVIDER_DEFAULT; import static java.util.Map.entry; public ...
__label__POS
0.998405
package io.apicurio.registry.serde.fallback; import io.apicurio.registry.resolver.strategy.ArtifactReference; import io.apicurio.registry.serde.config.SerdeConfig; import java.util.Map; /** * Default implementation of FallbackArtifactProvider that simply uses config properties */ public class DefaultFallbackArtifa...
__label__POS
0.824383
package io.apicurio.registry.serde.strategy; import io.apicurio.registry.resolver.ParsedSchema; import io.apicurio.registry.resolver.data.Record; import io.apicurio.registry.resolver.strategy.ArtifactReference; import io.apicurio.registry.resolver.strategy.ArtifactReferenceResolverStrategy; import io.apicurio.registry...
__label__POS
0.972806
package io.apicurio.registry.serde.strategy; import io.apicurio.registry.resolver.ParsedSchema; import io.apicurio.registry.resolver.data.Record; import io.apicurio.registry.resolver.strategy.ArtifactReference; import io.apicurio.registry.resolver.strategy.ArtifactReferenceResolverStrategy; import io.apicurio.registry...
__label__POS
0.998235
package io.apicurio.registry.serde.strategy; import io.apicurio.registry.resolver.strategy.ArtifactReferenceImpl; /** * There is a new implementation of this class that can be found here * {@link io.apicurio.registry.resolver.strategy.ArtifactReferenceImpl} and here * {@link io.apicurio.registry.resolver.strategy....
__label__POS
0.792945
package io.apicurio.registry.serde.jsonschema; import io.apicurio.registry.serde.config.SerdeConfig; import java.util.HashMap; import java.util.Map; public class JsonSchemaDeserializerConfig extends SerdeConfig { private boolean isKey; /** * Constructor. * * @param originals */ publ...
__label__POS
0.998935
package lint import "fmt" // A list of functions, each of which returns the group name for the given rule // number and if no group is found, returns an empty string. // List will be evaluated in the FILO order. // TODO: complete rule groups var ruleGroup = []func(int) string{ registryGroup, hubGroup, scoreGroup, ...
__label__POS
0.997834
package lint import "strings" // TODO: determine base URL const baseURL = "https://github.com/apigee/registry/wiki/" // A list of mapping functions, each of which returns the rule URL for // the given rule name, and if not found, return an empty string. // TODO: complete rule mappings var ruleURLMappings = []func(st...
__label__POS
0.963664
package lint import ( "testing" ) func TestCoreRuleURL(t *testing.T) { tests := []struct { name string rule string url string }{ {"CoreRule", "core::0122::camel-case-uris", baseURL + "122/camel-case-uris"}, {"NotCoreRule", "test::0122::camel-case-uris", ""}, } for _, test := range tests { t.Run(tes...
__label__POS
0.60964
package io.apicurio.registry.serde.avro; import org.apache.avro.Schema; import org.apache.avro.io.DatumReader; import org.apache.avro.io.DatumWriter; import org.apache.avro.reflect.ReflectData; import org.apache.avro.reflect.ReflectDatumReader; import org.apache.avro.reflect.ReflectDatumWriter; public class ReflectAv...
__label__POS
0.781395
package io.apicurio.registry.serde.avro; import io.apicurio.registry.serde.config.SerdeConfig; import java.util.HashMap; import java.util.Map; public class AvroSerdeConfig extends SerdeConfig { /** * Used by the Avro serde classes to choose an <code>io.apicurio.registry.serde.avro.AvroEncoding</code>, ...
__label__POS
0.998737
package io.apicurio.registry.serde.avro; import org.apache.avro.Schema; import org.apache.avro.generic.GenericContainer; import java.util.Objects; /** * Wrapper for all non-record types that includes the schema for the data. */ public class NonRecordContainer<T> implements GenericContainer { private final Sch...
__label__POS
0.766297
package io.apicurio.registry.serde.avro.strategy; import io.apicurio.registry.resolver.ParsedSchema; import io.apicurio.registry.resolver.data.Record; import io.apicurio.registry.resolver.strategy.ArtifactReference; import io.apicurio.registry.serde.data.SerdeRecord; import org.apache.avro.Schema; public class TopicR...
__label__POS
0.96553
package io.apicurio.registry.serde.protobuf; import com.google.protobuf.Message; import com.squareup.wire.schema.internal.parser.MessageElement; import com.squareup.wire.schema.internal.parser.TypeElement; import io.apicurio.registry.resolver.ParsedSchema; import io.apicurio.registry.utils.protobuf.schema.ProtobufSche...
__label__POS
0.694238
package io.apicurio.registry.serde.protobuf; import io.apicurio.registry.serde.config.SerdeConfig; import java.util.HashMap; import java.util.Map; public class ProtobufSerializerConfig extends SerdeConfig { /** * Constructor. * * @param originals */ public ProtobufSerializerConfig(Map<St...
__label__POS
0.999525
package io.apicurio.registry.serde.protobuf; import io.apicurio.registry.serde.config.SerdeConfig; import java.util.HashMap; import java.util.Map; public class ProtobufDeserializerConfig extends SerdeConfig { public static final String SPECIFIC_RETURN_CLASS_DOC = "A class generated by Protocol buffers that the ...
__label__POS
0.996979
package org.apereo.cas.support.saml.idp.metadata; import org.apereo.cas.util.cipher.BaseStringCipherExecutor; /** * This is {@link RestfulSamlIdPMetadataCipherExecutor}. * * @author Misagh Moayyed * @since 6.2.0 */ public class RestfulSamlIdPMetadataCipherExecutor extends BaseStringCipherExecutor { public R...
__label__POS
0.999943
package io.apicurio.registry.serde.avro.nats.client.streaming.consumers; import io.apicurio.registry.serde.avro.AvroDeserializer; import io.apicurio.registry.serde.avro.AvroSerdeConfig; import io.nats.client.Connection; import io.nats.client.JetStreamApiException; import io.nats.client.JetStreamSubscription; import io...
__label__POS
0.829859
package io.apicurio.registry.serde.avro.nats.client.streaming.producers; import io.apicurio.registry.serde.avro.AvroSerdeConfig; import io.apicurio.registry.serde.avro.AvroSerializer; import io.apicurio.registry.serde.avro.nats.client.exceptions.ApicurioNatsException; import io.nats.client.Connection; import io.nats.c...
__label__POS
0.744972
package org.apereo.cas.ticket.query; import org.apereo.cas.mock.MockTicketGrantingTicket; import org.apereo.cas.support.saml.BaseSamlIdPConfigurationTests; import lombok.val; import org.junit.jupiter.api.Tag; import org.junit.jupiter.api.Test; import org.springframework.beans.factory.annotation.Autowired; import org....
__label__POS
0.774687
package org.apereo.cas.ticket.artifact; import org.apereo.cas.mock.MockTicketGrantingTicket; import org.apereo.cas.support.saml.BaseSamlIdPConfigurationTests; import lombok.val; import org.junit.jupiter.api.Tag; import org.junit.jupiter.api.Test; import org.springframework.beans.factory.annotation.Autowired; import o...
__label__POS
0.666418
package io.apicurio.registry.content.canon; import graphql.schema.idl.RuntimeWiring; import graphql.schema.idl.SchemaGenerator; import graphql.schema.idl.SchemaParser; import graphql.schema.idl.SchemaPrinter; import graphql.schema.idl.SchemaPrinter.Options; import graphql.schema.idl.TypeDefinitionRegistry; import io.a...
__label__POS
0.866407
package io.apicurio.registry.rules.validity; import graphql.schema.idl.SchemaParser; import io.apicurio.registry.content.TypedContent; import io.apicurio.registry.rest.v3.beans.ArtifactReference; import io.apicurio.registry.rules.RuleViolationException; import io.apicurio.registry.types.RuleType; import java.util.Lis...
__label__POS
0.670814
package org.apereo.cas.support.saml; import lombok.val; import org.junit.jupiter.api.Tag; import org.junit.jupiter.api.Test; import org.springframework.core.io.ClassPathResource; import static org.junit.jupiter.api.Assertions.*; /** * This is {@link SamlIdPConfigurationTests}. * * @author Misagh Moayyed * @since...
__label__POS
0.988563
type: google.api.Service config_version: 3 name: library-example.googleapis.com title: Example Library API apis: - name: google.example.library.v1.LibraryService documentation: summary: A simple Google Example Library API. overview: |- # Introduction This is a Google example service representing a simple...
__label__POS
0.658987
package org.apereo.cas.support.saml; import org.apereo.cas.support.saml.services.SamlRegisteredService; import org.apereo.cas.util.RandomUtils; import lombok.experimental.UtilityClass; import lombok.val; import org.opensaml.saml.common.SAMLObjectBuilder; import org.opensaml.saml.saml2.core.AuthnRequest; import org.ope...
__label__POS
0.967826
package io.apicurio.registry.content; import io.apicurio.registry.content.util.ContentTypeUtil; import io.apicurio.registry.util.DocumentBuilderAccessor; import org.w3c.dom.Document; import org.w3c.dom.Element; import java.util.Map; public class XsdContentAccepter implements ContentAccepter { @Override publ...
__label__POS
0.984816
package org.apereo.cas.support.saml; import org.apereo.cas.authentication.CoreAuthenticationTestUtils; import org.apereo.cas.authentication.ProtocolAttributeEncoder; import org.apereo.cas.util.EncodingUtils; import lombok.val; import org.junit.jupiter.api.Tag; import org.junit.jupiter.api.Test; import java.util.Hash...
__label__POS
0.975081
package org.apereo.cas.support.saml.authentication; import lombok.val; import org.junit.jupiter.api.Tag; import org.junit.jupiter.api.Test; import org.opensaml.messaging.context.MessageContext; import org.opensaml.saml.common.messaging.context.SAMLBindingContext; import org.opensaml.saml.common.messaging.context.SAMLP...
__label__POS
0.945091
package org.apereo.cas.support.saml.authentication; import org.apereo.cas.multitenancy.TenantExtractor; import org.apereo.cas.support.saml.SamlIdPConstants; import org.apereo.cas.web.SimpleUrlValidator; import lombok.val; import org.junit.jupiter.api.Tag; import org.junit.jupiter.api.Test; import org.springframework.m...
__label__POS
0.977554
package org.apereo.cas.support.saml.services; import org.apereo.cas.authentication.CoreAuthenticationTestUtils; import org.apereo.cas.services.RegisteredServiceAttributeReleasePolicyContext; import org.apereo.cas.support.saml.BaseSamlIdPConfigurationTests; import org.apereo.cas.support.saml.SamlIdPTestUtils; import or...
__label__POS
0.621895
package io.apicurio.registry.content; import com.google.protobuf.DescriptorProtos; import io.apicurio.registry.utils.protobuf.schema.FileDescriptorUtils; import io.apicurio.registry.utils.protobuf.schema.ProtobufFile; import java.util.Base64; import java.util.Map; public class ProtobufContentAccepter implements Cont...
__label__POS
0.806073
/** * FinFeedAPI Stock REST API * No description provided (generated by Openapi Generator https://github.com/openapitools/openapi-generator) * * The version of the OpenAPI document: v1 * Contact: support@apibricks.io * * NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech). *...
__label__POS
0.983449
package io.apicurio.registry.content.canon; import com.squareup.wire.schema.internal.parser.ProtoFileElement; import com.squareup.wire.schema.internal.parser.ProtoParser; import io.apicurio.registry.content.ContentHandle; import io.apicurio.registry.content.TypedContent; import io.apicurio.registry.types.ContentTypes;...
__label__POS
0.662969
package io.apicurio.registry.content.refs; import com.squareup.wire.schema.internal.parser.ProtoFileElement; import io.apicurio.registry.content.TypedContent; import io.apicurio.registry.utils.protobuf.schema.ProtobufFile; import org.slf4j.Logger; import org.slf4j.LoggerFactory; import java.util.Collections; import j...
__label__POS
0.713942
/** * FinFeedAPI Stock REST API * No description provided (generated by Openapi Generator https://github.com/openapitools/openapi-generator) * * The version of the OpenAPI document: v1 * Contact: support@apibricks.io * * NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech). *...
__label__POS
0.802164
/** * FinFeedAPI Stock REST API * No description provided (generated by Openapi Generator https://github.com/openapitools/openapi-generator) * * The version of the OpenAPI document: v1 * Contact: support@apibricks.io * * NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech). *...
__label__POS
0.992566
/** * FinFeedAPI Stock REST API * No description provided (generated by Openapi Generator https://github.com/openapitools/openapi-generator) * * The version of the OpenAPI document: v1 * Contact: support@apibricks.io * * NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech). *...
__label__POS
0.993719
/** * FinFeedAPI Stock REST API * No description provided (generated by Openapi Generator https://github.com/openapitools/openapi-generator) * * The version of the OpenAPI document: v1 * Contact: support@apibricks.io * * NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech). *...
__label__POS
0.984638
package io.apicurio.registry.content; import com.fasterxml.jackson.databind.JsonNode; import io.apicurio.registry.content.util.ContentTypeUtil; import java.util.Map; public class OpenApiContentAccepter implements ContentAccepter { @Override public boolean acceptsContent(TypedContent content, Map<String, Typ...
__label__POS
0.993239
package org.apereo.cas.support.saml.services; import org.apereo.cas.authentication.CoreAuthenticationTestUtils; import org.apereo.cas.services.RegisteredServiceAttributeReleasePolicyContext; import org.apereo.cas.support.saml.BaseSamlIdPConfigurationTests; import org.apereo.cas.support.saml.SamlIdPTestUtils; import or...
__label__POS
0.600616
package io.apicurio.registry.content.canon; import com.fasterxml.jackson.databind.JsonNode; import com.fasterxml.jackson.databind.ObjectMapper; import com.fasterxml.jackson.databind.SerializationFeature; import io.apicurio.registry.content.ContentHandle; import io.apicurio.registry.content.TypedContent; import io.apic...
__label__POS
0.700057
package org.apereo.cas.support.saml.services; import org.apereo.cas.configuration.support.TriStateBoolean; import org.apereo.cas.services.util.RegisteredServiceJsonSerializer; import org.apereo.cas.support.saml.BaseSamlIdPConfigurationTests; import lombok.val; import org.junit.jupiter.api.Nested; import org.junit.jupi...
__label__POS
0.961902
#include "IrSdkBindingHelpers.h" #include <nan.h> #include <iostream> using namespace v8; using namespace std; Local<Value> NodeIrSdk::convertTelemetryValueToObject(IRSDKWrapper::TelemetryVar &var, const int &index) { switch (var.type) { case irsdk_char: return Nan::New((var.value[index]) + "\0").ToLocalChe...
__label__POS
0.937145