Search Options

Display Count
Sort
Preferred Language
Advanced Search

Results 1 - 1 of 1 for TestWebRequestAuthenticate (0.28 seconds)

The search processing time has exceeded the limit. The displayed results may be partial.

  1. cmd/jwt_test.go

    	claims.SetAccessKey(accessKey)
    	token := jwtgo.NewWithClaims(jwtgo.SigningMethodHS512, claims)
    	return token.SignedString([]byte(secretKey))
    }
    
    // Tests web request authenticator.
    func TestWebRequestAuthenticate(t *testing.T) {
    	ctx, cancel := context.WithCancel(t.Context())
    	defer cancel()
    
    	obj, fsDir, err := prepareFS(ctx)
    	if err != nil {
    		t.Fatal(err)
    	}
    	defer os.RemoveAll(fsDir)
    Created: 2026-04-05 19:28
    - Last Modified: 2025-08-29 02:39
    - 4.4K bytes
    - Click Count (0)
Back to Top