Search Options

Results per page
Sort
Preferred Languages
Advance

Results 91 - 100 of 304 for Auth (0.03 sec)

  1. cmd/signature-v4.go

    func doesPolicySignatureV4Match(formValues http.Header) (auth.Credentials, APIErrorCode) {
    	// Server region.
    	region := globalSite.Region()
    
    	// Parse credential tag.
    	credHeader, s3Err := parseCredentialHeader("Credential="+formValues.Get(xhttp.AmzCredential), region, serviceS3)
    	if s3Err != ErrNone {
    		return auth.Credentials{}, s3Err
    	}
    
    	r := &http.Request{Header: formValues}
    Registered: Sun Nov 03 19:28:11 UTC 2024
    - Last Modified: Thu May 16 23:13:47 UTC 2024
    - 12.4K bytes
    - Viewed (0)
  2. internal/rest/client.go

    		if req.GetBody != nil && req.ContentLength == 0 {
    			req.Body = http.NoBody
    			req.GetBody = func() (io.ReadCloser, error) { return http.NoBody, nil }
    		}
    	}
    
    	if c.auth != nil {
    		req.Header.Set("Authorization", "Bearer "+c.auth())
    	}
    	req.Header.Set("X-Minio-Time", strconv.FormatInt(time.Now().UnixNano(), 10))
    
    	if tc, ok := ctx.Value(mcontext.ContextTraceKey).(*mcontext.TraceCtxt); ok {
    Registered: Sun Nov 03 19:28:11 UTC 2024
    - Last Modified: Fri Jul 26 12:55:01 UTC 2024
    - 14.7K bytes
    - Viewed (0)
  3. fastapi/security/http.py

        """
        The HTTP Basic credentials given as the result of using `HTTPBasic` in a
        dependency.
    
        Read more about it in the
        [FastAPI docs for HTTP Basic Auth](https://fastapi.tiangolo.com/advanced/security/http-basic-auth/).
        """
    
        username: Annotated[str, Doc("The HTTP Basic username.")]
        password: Annotated[str, Doc("The HTTP Basic password.")]
    
    
    class HTTPAuthorizationCredentials(BaseModel):
    Registered: Sun Nov 03 07:19:11 UTC 2024
    - Last Modified: Thu Sep 19 09:47:28 UTC 2024
    - 13.2K bytes
    - Viewed (0)
  4. cmd/jwt.go

    package cmd
    
    import (
    	"errors"
    	"net/http"
    	"time"
    
    	jwtgo "github.com/golang-jwt/jwt/v4"
    	jwtreq "github.com/golang-jwt/jwt/v4/request"
    	"github.com/minio/minio/internal/auth"
    	xjwt "github.com/minio/minio/internal/jwt"
    	"github.com/minio/pkg/v3/policy"
    )
    
    const (
    	jwtAlgorithm = "Bearer"
    
    	// Default JWT token for web handlers is one day.
    	defaultJWTExpiry = 24 * time.Hour
    
    Registered: Sun Nov 03 19:28:11 UTC 2024
    - Last Modified: Mon Jul 22 07:04:48 UTC 2024
    - 4.5K bytes
    - Viewed (0)
  5. internal/logger/reqinfo.go

    // along with this program.  If not, see <http://www.gnu.org/licenses/>.
    
    package logger
    
    import (
    	"context"
    	"fmt"
    	"sync"
    
    	"github.com/minio/minio/internal/auth"
    )
    
    // Key used for Get/SetReqInfo
    type contextKeyType string
    
    const contextLogKey = contextKeyType("miniolog")
    
    // KeyVal - appended to ReqInfo.Tags
    type KeyVal struct {
    	Key string
    	Val string
    }
    Registered: Sun Nov 03 19:28:11 UTC 2024
    - Last Modified: Tue Aug 13 22:22:04 UTC 2024
    - 4.4K bytes
    - Viewed (0)
  6. internal/config/identity/openid/openid.go

    		expirySecs, err := strconv.ParseInt(dsecs, 10, 64)
    		if err != nil {
    			return 0, auth.ErrInvalidDuration
    		}
    
    		// The duration, in seconds, of the role session.
    		// The value can range from 900 seconds (15 minutes)
    		// up to 365 days.
    		if expirySecs < config.MinExpiration || expirySecs > config.MaxExpiration {
    			return 0, auth.ErrInvalidDuration
    		}
    
    		defaultExpiryDuration = time.Duration(expirySecs) * time.Second
    Registered: Sun Nov 03 19:28:11 UTC 2024
    - Last Modified: Wed Jul 10 20:16:44 UTC 2024
    - 16.6K bytes
    - Viewed (0)
  7. common-protos/k8s.io/api/certificates/v1/generated.proto

      //
      // Requests for TLS client certificates typically request: "digital signature", "key encipherment", "client auth".
      //
      // Requests for TLS serving certificates typically request: "key encipherment", "digital signature", "server auth".
      //
      // Valid values are:
      //  "signing", "digital signature", "content commitment",
      //  "key encipherment", "key agreement", "data encipherment",
    Registered: Wed Nov 06 22:53:10 UTC 2024
    - Last Modified: Mon Mar 11 18:43:24 UTC 2024
    - 11.6K bytes
    - Viewed (0)
  8. src/main/java/org/codelibs/fess/auth/chain/AuthenticationChain.java

     * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND,
     * either express or implied. See the License for the specific language
     * governing permissions and limitations under the License.
     */
    package org.codelibs.fess.auth.chain;
    
    import org.codelibs.fess.es.user.exentity.User;
    
    public interface AuthenticationChain {
    
        void update(User user);
    
        void delete(User user);
    
    Registered: Thu Oct 31 13:40:30 UTC 2024
    - Last Modified: Thu Feb 22 01:37:57 UTC 2024
    - 899 bytes
    - Viewed (0)
  9. src/main/java/jcifs/pac/kerberos/KerberosTicket.java

    import java.math.BigInteger;
    import java.security.GeneralSecurityException;
    import java.util.Enumeration;
    import java.util.HashMap;
    import java.util.Map;
    
    import javax.security.auth.kerberos.KerberosKey;
    import javax.security.auth.login.LoginException;
    
    import org.bouncycastle.asn1.*;
    
    import jcifs.pac.ASN1Util;
    import jcifs.pac.PACDecodingException;
    
    
    @SuppressWarnings ( "javadoc" )
    Registered: Sun Nov 03 00:10:13 UTC 2024
    - Last Modified: Mon Oct 02 12:02:06 UTC 2023
    - 5.7K bytes
    - Viewed (0)
  10. cmd/bucket-handlers_test.go

    package cmd
    
    import (
    	"bytes"
    	"encoding/xml"
    	"fmt"
    	"io"
    	"net/http"
    	"net/http/httptest"
    	"strconv"
    	"testing"
    
    	"github.com/minio/minio/internal/auth"
    )
    
    // Wrapper for calling RemoveBucket HTTP handler tests for both Erasure multiple disks and single node setup.
    func TestRemoveBucketHandler(t *testing.T) {
    Registered: Sun Nov 03 19:28:11 UTC 2024
    - Last Modified: Mon Jun 10 15:50:49 UTC 2024
    - 39.8K bytes
    - Viewed (0)
Back to top