Search Options

Results per page
Sort
Preferred Languages
Advance

Results 171 - 180 of 767 for token (0.04 sec)

  1. .teamcity/src/main/kotlin/configurations/GradleBuildConfigurationDefaults.kt

    fun BuildFeatures.enablePullRequestFeature() {
        pullRequests {
            vcsRootExtId = VersionedSettingsBranch.fromDslContext().vcsRootId()
            provider = github {
                authType = token {
                    token = "%github.bot-teamcity.token%"
                }
                filterAuthorRole = PullRequests.GitHubRoleFilter.EVERYBODY
                filterTargetBranch = "+:refs/heads/${VersionedSettingsBranch.fromDslContext().branchName}"
            }
    Registered: Wed Nov 06 11:36:14 UTC 2024
    - Last Modified: Tue Sep 24 06:22:49 UTC 2024
    - 8K bytes
    - Viewed (0)
  2. src/cmd/asm/internal/lex/slice.go

    package lex
    
    import (
    	"text/scanner"
    
    	"cmd/internal/src"
    )
    
    // A Slice reads from a slice of Tokens.
    type Slice struct {
    	tokens []Token
    	base   *src.PosBase
    	line   int
    	pos    int
    }
    
    func NewSlice(base *src.PosBase, line int, tokens []Token) *Slice {
    	return &Slice{
    		tokens: tokens,
    		base:   base,
    		line:   line,
    		pos:    -1, // Next will advance to zero.
    	}
    }
    
    Registered: Tue Nov 05 11:13:11 UTC 2024
    - Last Modified: Thu Jun 29 22:49:50 UTC 2023
    - 1.6K bytes
    - Viewed (0)
  3. cmd/batch-rotate_gen.go

    		case "Endpoint":
    			z.Endpoint, err = dc.ReadString()
    			if err != nil {
    				err = msgp.WrapError(err, "Endpoint")
    				return
    			}
    		case "Token":
    			z.Token, err = dc.ReadString()
    			if err != nil {
    				err = msgp.WrapError(err, "Token")
    				return
    			}
    		default:
    			err = dc.Skip()
    			if err != nil {
    				err = msgp.WrapError(err)
    				return
    			}
    		}
    	}
    Registered: Sun Nov 03 19:28:11 UTC 2024
    - Last Modified: Sat Dec 02 10:51:33 UTC 2023
    - 27.1K bytes
    - Viewed (0)
  4. tests/update_test.go

    	}
    
    	owner := TokenOwner{
    		Name:  "user",
    		Token: Token{Content: "token"},
    	}
    	o1, err := saveTokenOwner(&owner)
    	if err != nil {
    		t.Errorf("failed to save token owner, got error: %v", err)
    	}
    	if o1.Name != "user_name" {
    		t.Errorf(`owner name should be "user_name", but got: "%s"`, o1.Name)
    	}
    	if o1.Token.Content != "token_encrypted" {
    Registered: Sun Nov 03 09:35:10 UTC 2024
    - Last Modified: Mon Dec 04 03:50:58 UTC 2023
    - 30.3K bytes
    - Viewed (0)
  5. docs/zh/docs/tutorial/security/first-steps.md

    ```Python hl_lines="6"
    {!../../docs_src/security/tutorial001.py!}
    ```
    
    /// tip | "提示"
    
    在此,`tokenUrl="token"` 指向的是暂未创建的相对 URL `token`。这个相对 URL 相当于 `./token`。
    
    因为使用的是相对 URL,如果 API 位于 `https://example.com/`,则指向 `https://example.com/token`。但如果 API 位于 `https://example.com/api/v1/`,它指向的就是`https://example.com/api/v1/token`。
    
    使用相对 URL 非常重要,可以确保应用在遇到[使用代理](../../advanced/behind-a-proxy.md){.internal-link target=_blank}这样的高级用例时,也能正常运行。
    
    Registered: Sun Nov 03 07:19:11 UTC 2024
    - Last Modified: Sun Oct 06 20:36:54 UTC 2024
    - 7.3K bytes
    - Viewed (0)
  6. internal/auth/credentials.go

    		subtle.ConstantTimeCompare([]byte(cred.SessionToken), []byte(ccred.SessionToken)) == 1)
    }
    
    var timeSentinel = time.Unix(0, 0).UTC()
    
    // ErrInvalidDuration invalid token expiry
    var ErrInvalidDuration = errors.New("invalid token expiry")
    
    // ExpToInt64 - convert input interface value to int64.
    func ExpToInt64(expI interface{}) (expAt int64, err error) {
    	switch exp := expI.(type) {
    	case string:
    Registered: Sun Nov 03 19:28:11 UTC 2024
    - Last Modified: Tue May 28 17:14:16 UTC 2024
    - 12K bytes
    - Viewed (0)
  7. docs/ja/docs/tutorial/security/first-steps.md

    ```Python hl_lines="6"
    {!../../docs_src/security/tutorial001.py!}
    ```
    
    /// tip | "豆知識"
    
    ここで、`tokenUrl="token"`は、まだ作成していない相対URL`token`を指します。相対URLなので、`./token`と同じです。
    
    相対URLを使っているので、APIが`https://example.com/`にある場合、`https://example.com/token`を参照します。しかし、APIが`https://example.com/api/v1/`にある場合は`https://example.com/api/v1/token`を参照することになります。
    
    Registered: Sun Nov 03 07:19:11 UTC 2024
    - Last Modified: Sun Oct 06 20:36:54 UTC 2024
    - 10.5K bytes
    - Viewed (0)
  8. cmd/sts-handlers_test.go

    	if err != nil {
    		c.Fatalf("bucket create error: %v", err)
    	}
    
    	// Generate web identity STS token by interacting with OpenID IDP.
    	token, err := MockOpenIDTestUserInteraction(ctx, testAppParams, "******@****.***", "dillon")
    	if err != nil {
    		c.Fatalf("mock user err: %v", err)
    	}
    	// fmt.Printf("TOKEN: %s\n", token)
    
    	webID := cr.STSWebIdentity{
    		Client:      s.TestSuiteCommon.client,
    Registered: Sun Nov 03 19:28:11 UTC 2024
    - Last Modified: Thu Oct 10 23:40:37 UTC 2024
    - 97.1K bytes
    - Viewed (0)
  9. cmd/batch-job-common-types.go

    	}
    	return false
    }
    
    // BatchJobNotification stores notification endpoint and token information.
    // Used by batch jobs to notify of their status.
    type BatchJobNotification struct {
    	line, col int
    	Endpoint  string `yaml:"endpoint" json:"endpoint"`
    	Token     string `yaml:"token" json:"token"`
    }
    
    var _ yaml.Unmarshaler = &BatchJobNotification{}
    
    Registered: Sun Nov 03 19:28:11 UTC 2024
    - Last Modified: Tue Jun 11 03:13:30 UTC 2024
    - 7.9K bytes
    - Viewed (0)
  10. internal/s3select/unused-errors.go

    	return &s3Error{
    		code:       "ParseExpectedTokenType",
    		message:    "Did not find the expected token in the SQL expression.",
    		statusCode: 400,
    		cause:      err,
    	}
    }
    
    func errParseExpected2TokenTypes(err error) *s3Error {
    	return &s3Error{
    		code:       "ParseExpected2TokenTypes",
    		message:    "Did not find the expected token in the SQL expression.",
    		statusCode: 400,
    		cause:      err,
    	}
    }
    
    Registered: Sun Nov 03 19:28:11 UTC 2024
    - Last Modified: Tue Feb 20 08:16:35 UTC 2024
    - 17.5K bytes
    - Viewed (0)
Back to top