Home
last modified time | relevance | path

Searched +full:github +full:- +full:token (Results 1 – 25 of 1118) sorted by relevance

12345678910>>...45

/external/javaparser/javaparser-core/src/main/javacc-support/com/github/javaparser/
DGeneratedJavaParserTokenManagerBase.java1 package com.github.javaparser;
3 import com.github.javaparser.ast.comments.BlockComment;
4 import com.github.javaparser.ast.comments.Comment;
5 import com.github.javaparser.ast.comments.JavadocComment;
6 import com.github.javaparser.ast.comments.LineComment;
8 import static com.github.javaparser.GeneratedJavaParserConstants.*;
11 * Base class for {@link com.github.javaparser.GeneratedJavaParserTokenManager}
15 * Create a TokenRange that spans exactly one token
17 private static TokenRange tokenRange(Token token) { in tokenRange() argument
18 JavaToken javaToken = token.javaToken; in tokenRange()
[all …]
DGeneratedJavaParserBase.java1 package com.github.javaparser;
3 import com.github.javaparser.ast.ArrayCreationLevel;
4 import com.github.javaparser.ast.Node;
5 import com.github.javaparser.ast.NodeList;
6 import com.github.javaparser.ast.body.Parameter;
7 import com.github.javaparser.ast.comments.CommentsCollection;
8 import com.github.javaparser.ast.expr.*;
9 import com.github.javaparser.ast.stmt.Statement;
10 import com.github.javaparser.ast.type.ArrayType;
11 import com.github.javaparser.ast.type.Type;
[all …]
/external/aws-sdk-java-v2/core/imds/src/test/java/software/amazon/awssdk/imds/internal/
DCachedTokenClientTest.java18 import static com.github.tomakehurst.wiremock.client.WireMock.aResponse;
19 import static com.github.tomakehurst.wiremock.client.WireMock.equalTo;
20 import static com.github.tomakehurst.wiremock.client.WireMock.exactly;
21 import static com.github.tomakehurst.wiremock.client.WireMock.get;
22 import static com.github.tomakehurst.wiremock.client.WireMock.getRequestedFor;
23 import static com.github.tomakehurst.wiremock.client.WireMock.put;
24 import static com.github.tomakehurst.wiremock.client.WireMock.putRequestedFor;
25 import static com.github.tomakehurst.wiremock.client.WireMock.stubFor;
26 import static com.github.tomakehurst.wiremock.client.WireMock.urlPathEqualTo;
27 import static com.github.tomakehurst.wiremock.client.WireMock.verify;
[all …]
DBaseEc2MetadataClientTest.java18 import static com.github.tomakehurst.wiremock.client.WireMock.aResponse;
19 import static com.github.tomakehurst.wiremock.client.WireMock.equalTo;
20 import static com.github.tomakehurst.wiremock.client.WireMock.exactly;
21 import static com.github.tomakehurst.wiremock.client.WireMock.get;
22 import static com.github.tomakehurst.wiremock.client.WireMock.getRequestedFor;
23 import static com.github.tomakehurst.wiremock.client.WireMock.put;
24 import static com.github.tomakehurst.wiremock.client.WireMock.putRequestedFor;
25 import static com.github.tomakehurst.wiremock.client.WireMock.stubFor;
26 import static com.github.tomakehurst.wiremock.client.WireMock.urlPathEqualTo;
27 import static com.github.tomakehurst.wiremock.client.WireMock.verify;
[all …]
/external/rust/crates/grpcio-sys/grpc/tools/release/
Drelease_notes.py7 # http://www.apache.org/licenses/LICENSE-2.0
14 """Generate draft and release notes in Markdown from Github PRs.
16 You'll need a github API token to avoid being rate-limited. See
17 https://help.github.com/articles/creating-a-personal-access-token-for-the-command-line/
38 --
39 … auto generated release notes. Previous release notes are [here](https://github.com/grpc/grpc/rele…
41 …bels and make necessary corrections (like fixing the title) to the PR in Github. Final release not…
44 --
47 -
51 -
[all …]
/external/javaparser/javaparser-core/src/main/java/com/github/javaparser/printer/
DConcreteSyntaxModel.java2 * Copyright (C) 2007-2010 Júlio Vilmar Gesser.
3 * Copyright (C) 2011, 2013-2016 The JavaParser Team.
22 package com.github.javaparser.printer;
24 import com.github.javaparser.GeneratedJavaParserConstants;
25 import com.github.javaparser.ast.*;
26 import com.github.javaparser.ast.body.*;
27 import com.github.javaparser.ast.comments.Comment;
28 import com.github.javaparser.ast.expr.*;
29 import com.github.javaparser.ast.modules.*;
30 import com.github.javaparser.ast.observer.ObservableProperty;
[all …]
/external/grpc-grpc/tools/release/
Drelease_notes.py7 # http://www.apache.org/licenses/LICENSE-2.0
14 """Generate draft and release notes in Markdown from Github PRs.
16 You'll need a github API token to avoid being rate-limited. See
17 https://help.github.com/articles/creating-a-personal-access-token-for-the-command-line/
40 --
41 … auto generated release notes. Previous release notes are [here](https://github.com/grpc/grpc/rele…
43 …bels and make necessary corrections (like fixing the title) to the PR in Github. Final release not…
46 --
49 -
53 -
[all …]
/external/javaparser/javaparser-core-testing/src/test/java/com/github/javaparser/
DJavaTokenTest.java2 * Copyright (C) 2007-2010 Júlio Vilmar Gesser.
3 * Copyright (C) 2011, 2013-2016 The JavaParser Team.
22 package com.github.javaparser;
24 import com.github.javaparser.ast.expr.Expression;
29 import static com.github.javaparser.GeneratedJavaParserConstants.*;
30 import static com.github.javaparser.JavaToken.Category.*;
31 import static com.github.javaparser.Providers.provider;
32 import static com.github.javaparser.Range.range;
51 …id assertToken(String image, Range range, int kind, JavaToken.Category category, JavaToken token) { in assertToken() argument
52 assertEquals(image, token.getText()); in assertToken()
[all …]
/external/javaparser/javaparser-core/src/main/java/com/github/javaparser/printer/lexicalpreservation/
DTokenTextElement.java2 * Copyright (C) 2007-2010 Júlio Vilmar Gesser.
3 * Copyright (C) 2011, 2013-2016 The JavaParser Team.
22 package com.github.javaparser.printer.lexicalpreservation;
24 import com.github.javaparser.JavaToken;
25 import com.github.javaparser.Range;
26 import com.github.javaparser.ast.Node;
31 private final JavaToken token; field in TokenTextElement
33 TokenTextElement(JavaToken token) { in TokenTextElement() argument
34 this.token = token; in TokenTextElement()
47 return token.getText(); in expand()
[all …]
DRemovedGroup.java1 package com.github.javaparser.printer.lexicalpreservation;
3 import com.github.javaparser.JavaToken;
4 import com.github.javaparser.TokenRange;
5 import com.github.javaparser.TokenTypes;
6 import com.github.javaparser.ast.Node;
7 import com.github.javaparser.printer.concretesyntaxmodel.CsmToken;
88 return indicesBeingRemoved.get(indicesBeingRemoved.size() - 1); in getLastElementIndex()
106 return removedList.get(removedList.size() - 1); in getLastElement()
115 …* " [Removed] [EOL]" -> this would be a complete line, regardless of spaces or tabs before or aft…
116 * " [Removed] void [EOL]" -> this would not be a complete line because of the "void"
[all …]
/external/grpc-grpc-java/xds/third_party/envoy/src/main/proto/envoy/api/v2/core/
Dgrpc_service.proto20 option go_package = "github.com/envoyproxy/go-control-plane/envoy/api/v2/core";
24 // [#protodoc-title: gRPC services]
28 // [#next-free-field: 6]
37 // [#next-free-field: 7]
52 // See https://github.com/grpc/grpc/pull/15909.
56 // See https://grpc.io/docs/guides/auth.html#credential-types to understand Channel and Call
71 // [#next-free-field: 8]
95 // Security token service configuration that allows Google gRPC to
96 // fetch security token from an OAuth 2.0 authorization server.
97 // See https://tools.ietf.org/html/draft-ietf-oauth-token-exchange-16 and
[all …]
/external/googleapis/google/devtools/cloudbuild/v2/
Drepositories.proto7 // http://www.apache.org/licenses/LICENSE-2.0
47 "https://www.googleapis.com/auth/cloud-platform";
165 // Fetches read/write token of a given repository.
175 // Fetches read token of a given repository.
202 // A connection to a SCM like GitHub, GitHub Enterprise, Bitbucket Data Center,
227 // Configuration for connections to github.com.
230 // Configuration for connections to an instance of GitHub Enterprise.
262 // client has an up-to-date value before proceeding.
267 // user to complete the installation. Used for GitHub and GitHub Enterprise
275 // Only for GitHub Enterprise. An App creation has been requested.
[all …]
/external/google-cloud-java/java-cloudbuild/proto-google-cloud-build-v2/src/main/proto/google/devtools/cloudbuild/v2/
Drepositories.proto7 // http://www.apache.org/licenses/LICENSE-2.0
46 "https://www.googleapis.com/auth/cloud-platform";
164 // Fetches read/write token of a given repository.
174 // Fetches read token of a given repository.
193 // A connection to a SCM like GitHub, GitHub Enterprise, Bitbucket Server or
218 // Configuration for connections to github.com.
221 // Configuration for connections to an instance of GitHub Enterprise.
243 // client has an up-to-date value before proceeding.
248 // user to complete the installation. Used for GitHub and GitHub Enterprise
256 // Only for GitHub Enterprise. An App creation has been requested.
[all …]
/external/rust/crates/libz-sys/src/zlib-ng/arch/s390/self-hosted-builder/fs/usr/bin/
Dactions-runner8 # - repo=<owner>/<name>
9 # - access_token=<ghp_***>
12 set -e -u
14 # Check the cached registration token.
15 token_file=registration-token.json
17 expires_at=$(jq --raw-output .expires_at "$token_file" 2>/dev/null)
19 set -e
20 if [[ $status -ne 0 || $(date +%s) -ge $(date -d "$expires_at" +%s) ]]; then
21 # Refresh the cached registration token.
23 -X POST \
[all …]
/external/grpc-grpc-java/xds/third_party/envoy/src/main/proto/envoy/config/core/v3/
Dgrpc_service.proto21 option go_package = "github.com/envoyproxy/go-control-plane/envoy/config/core/v3;corev3";
24 // [#protodoc-title: gRPC services]
28 // [#next-free-field: 6]
47 // Indicates the retry policy for re-establishing the gRPC stream
54 // [#next-free-field: 9]
75 // See https://github.com/grpc/grpc/pull/15909.
81 // See https://grpc.io/docs/guides/auth.html#credential-types to understand Channel and Call
99 // [#next-free-field: 8]
134 // [#extension-category: envoy.grpc_credentials]
140 // Security token service configuration that allows Google gRPC to
[all …]
/external/python/google-auth-library-python/tests/
Dtest_aws.py7 # http://www.apache.org/licenses/LICENSE-2.0
34 SERVICE_ACCOUNT_EMAIL = "service-1234@service-name.iam.gserviceaccount.com"
36 "https://us-east1-iamcredentials.googleapis.com/v1/projects/-"
41 TOKEN_URL = "https://sts.googleapis.com/v1/token"
42 SUBJECT_TOKEN_TYPE = "urn:ietf:params:aws:token-type:aws4_request"
44 REGION_URL = "http://169.254.169.254/latest/meta-data/placement/availability-zone"
45 SECURITY_CREDS_URL = "http://169.254.169.254/latest/meta-data/iam/security-credentials"
47 "https://sts.{region}.amazonaws.com?Action=GetCallerIdentity&Version=2011-06-15"
49 # Sample AWS security credentials to be used with tests that require a session token.
52 TOKEN = "IQoJb3JpZ2luX2VjEIz//////////wEaCXVzLWVhc3QtMiJGMEQCIH7MHX/Oy/OB8OlLQa9GrqU1B914+iMikqWQW7… variable
[all …]
/external/bazelbuild-rules_go/go/tools/releaser/
Dgithub.go7 // http://www.apache.org/licenses/LICENSE-2.0
25 "github.com/google/go-github/v36/github"
29 *github.Client
32 func (gh *githubClient) listTags(ctx context.Context, org, repo string) (_ []*github.RepositoryTag,…
35 err = fmt.Errorf("listing tags in github.com/%s/%s: %w", org, repo, err)
39 var allTags []*github.RepositoryTag
40 err = gh.listPages(func(opts *github.ListOptions) (*github.Response, error) {
54 func (gh *githubClient) listReleases(ctx context.Context, org, repo string) (_ []*github.Repository…
57 err = fmt.Errorf("listing releases in github.com/%s/%s: %w", org, repo, err)
61 var allReleases []*github.RepositoryRelease
[all …]
/external/tink/go/jwt/
Djwt_key_templates.go7 // http://www.apache.org/licenses/LICENSE-2.0
23 "github.com/google/tink/go/internal/tinkerror"
24 jepb "github.com/google/tink/go/proto/jwt_ecdsa_go_proto"
25 jwtmacpb "github.com/google/tink/go/proto/jwt_hmac_go_proto"
26 jrsppb "github.com/google/tink/go/proto/jwt_rsa_ssa_pkcs1_go_proto"
27 jrpsspb "github.com/google/tink/go/proto/jwt_rsa_ssa_pss_go_proto"
28 tinkpb "github.com/google/tink/go/proto/tink_go_proto"
101 // HMAC-SHA256 with a 32 byte key. It will set a key ID header "kid" in the token.
107 // HMAC-SHA256 with a 32 byte key. It will not set a key ID header "kid" in the token.
113 // HMAC-SHA384 with a 48 byte key. It will set a key ID header "kid" in the token.
[all …]
/external/aws-sdk-java-v2/core/regions/src/test/java/software/amazon/awssdk/regions/internal/util/
DEC2MetadataUtilsTest.java18 import static com.github.tomakehurst.wiremock.client.WireMock.aResponse;
19 import static com.github.tomakehurst.wiremock.client.WireMock.equalTo;
20 import static com.github.tomakehurst.wiremock.client.WireMock.get;
21 import static com.github.tomakehurst.wiremock.client.WireMock.getRequestedFor;
22 import static com.github.tomakehurst.wiremock.client.WireMock.put;
23 import static com.github.tomakehurst.wiremock.client.WireMock.putRequestedFor;
24 import static com.github.tomakehurst.wiremock.client.WireMock.stubFor;
25 import static com.github.tomakehurst.wiremock.client.WireMock.urlPathEqualTo;
28 import com.github.tomakehurst.wiremock.client.WireMock;
29 import com.github.tomakehurst.wiremock.http.Fault;
[all …]
/external/dagger2/.github/actions/prechecks/
Daction.yml8 # runs of the same job. See https://github.com/google/go-github/pull/1821
9 - name: Cancel previous
10 uses: styfle/cancel-workflow-action@0.11.0
12 access_token: ${{ github.token }}
13 - name: 'Check out gh-pages repository'
16 ref: 'refs/heads/gh-pages'
17 path: gh-pages
18 - name: 'Validate latest Dagger version'
19 run: ./gh-pages/.github/scripts/validate-latest-dagger-version.sh gh-pages/_config.yml
22 GH_TOKEN: ${{ github.token }}
[all …]
/external/rust/crates/mio/
DREADME.md3 Mio is a fast, low-level I/O library for Rust focusing on non-blocking APIs and
7 [![Crates.io][crates-badge]][crates-url]
8 [![MIT licensed][mit-badge]][mit-url]
9 [![Build Status][actions-badge]][actions-url]
10 [![Build Status][cirrus-badge]][cirrus-url]
12 [crates-badge]: https://img.shields.io/crates/v/mio.svg
13 [crates-url]: https://crates.io/crates/mio
14 [mit-badge]: https://img.shields.io/badge/license-MIT-blue.svg
15 [mit-url]: LICENSE
16 [actions-badge]: https://github.com/tokio-rs/mio/workflows/CI/badge.svg
[all …]
/external/rust/crates/serde_test/
DREADME.md3 [Build Status]: https://img.shields.io/github/actions/workflow/status/serde-rs/test/ci.yml?branch=m…
4 [actions]: https://github.com/serde-rs/test/actions?query=branch%3Amaster
16 `serde_test` provides a [`Token`] abstraction which corresponds roughly to
25 Here is an example from the [`linked-hash-map`] crate.
27 [`linked-hash-map`]: https://github.com/contain-rs/linked-hash-map
31 use serde_test::{assert_tokens, Token};
40 Token::Map { len: Some(0) },
41 Token::MapEnd,
56 Token::Map { len: Some(3) },
57 Token::Char('b'),
[all …]
/external/aws-sdk-java-v2/docs/design/core/tokenauth/
DREADME.md3 # Bearer Token Authorization and Token Providers
5 **What is Bearer Token authorization?**
7 Bearer Token authorization is a method used to authenticate service request using
8 [Bearer Token](https://oauth.net/2/bearer-tokens/) instead of traditional AWS credentials .This is …
9 populating authorization header with bearer token.
19 sso_region = us-east-1
25 $ aws sso login --profile sono
28 Upon completing this login, a cached token will be available under
29 `~/.aws/sso/cache` which will be used by the SDK to perform bearer token
33 signature version. This client would know how to load the cached token based on the
[all …]
/external/oss-fuzz/infra/cifuzz/actions/run_fuzzers/
Daction.yml2 name: 'run-fuzzers'
5 oss-fuzz-project-name:
6 description: 'The OSS-Fuzz project name.'
12 fuzz-seconds:
16 dry-run:
22 run-fuzzers-mode:
26 "batch" is for non-interactive fuzzing of an entire project.
30 github-token:
32 Token for GitHub API. WARNING: THIS SHOULD NOT BE USED IN PRODUCTION YET
34 hardcode the token.
[all …]
/external/cronet/third_party/anonymous_tokens/src/anonymous_tokens/cpp/privacy_pass/
Dtoken_encodings.h7 // https://www.apache.org/licenses/LICENSE-2.0
30 // blinded_token_request will be encoded in 256 bytes for token type DA7A.
33 // TokenRequest struct will be encoded in 259 bytes for token type DA7A.
44 // TokenRequest contains the blinded_token_request along with the token type
47 // encoded_key is a DER-encoded object carrying the public key as described
49 …smhendrickson.github.io/draft-hendrickson-privacypass-public-metadata-issuance/draft-hendrickson-p…
59 // Extension id a type-value structure whose semantics are determined by the
61 // extension_value must be a 2-octet integer.
67 // Represents the extension defined in Privacy Pass Token Expiration Extension
69 // https://chris-wood.github.io/draft-hendrickson-privacypass-expiration-extension/draft-hendrickso…
[all …]

12345678910>>...45