Search Options

Results per page
Sort
Preferred Languages
Advance

Results 1 - 1 of 1 for getKeySeparator (0.05 sec)

  1. cmd/user-provider-utils.go

    	claims := credentials.Claims
    	if _, ok := claims[ldapUser]; ok {
    		return madmin.LDAPProvider // ldap users
    	}
    
    	if _, ok := claims[subClaim]; ok {
    		providerPrefix, _, found := strings.Cut(credentials.ParentUser, getKeySeparator())
    		if found {
    			return providerPrefix // this is true for certificate and custom providers
    		}
    		return madmin.OpenIDProvider // openid users are already hashed, so no separator
    	}
    
    Registered: Sun Sep 07 19:28:11 UTC 2025
    - Last Modified: Fri Aug 29 02:39:48 UTC 2025
    - 4.1K bytes
    - Viewed (0)
Back to top