Search Options

Results per page
Sort
Preferred Languages
Advance

Results 1 - 3 of 3 for init (0.14 sec)

  1. internal/config/identity/ldap/config.go

    			Key:   kvsrc.Key,
    			Value: kvsrc.Value,
    			IsCfg: true,
    			IsEnv: kvsrc.Src == config.ValueSourceEnv,
    		})
    	}
    
    	// sort the structs by the key
    	sort.Slice(res, func(i, j int) bool {
    		return res[i].Key < res[j].Key
    	})
    
    	return res, nil
    Go
    - Registered: Sun May 05 19:28:20 GMT 2024
    - Last Modified: Thu Apr 25 21:28:16 GMT 2024
    - 7.9K bytes
    - Viewed (2)
  2. internal/config/identity/plugin/config.go

    type AuthNResponse struct {
    	Success *AuthNSuccessResponse
    	Failure *AuthNErrorResponse
    }
    
    const (
    	minValidityDurationSeconds int = 900
    	maxValidityDurationSeconds int = 365 * 24 * 3600
    )
    
    // Authenticate authenticates the token with the external hook endpoint and
    // returns a parent user, max expiry duration for the authentication and a set
    // of claims.
    Go
    - Registered: Sun May 05 19:28:20 GMT 2024
    - Last Modified: Thu Apr 04 12:04:40 GMT 2024
    - 13.3K bytes
    - Viewed (3)
  3. internal/config/config.go

    )
    
    // DefaultKVS - default kvs for all sub-systems
    var DefaultKVS = map[string]KVS{}
    
    // RegisterDefaultKVS - this function saves input kvsMap
    // globally, this should be called only once preferably
    // during `init()`.
    func RegisterDefaultKVS(kvsMap map[string]KVS) {
    	for subSys, kvs := range kvsMap {
    		DefaultKVS[subSys] = kvs
    	}
    }
    
    // HelpSubSysMap - help for all individual KVS for each sub-systems
    Go
    - Registered: Sun May 05 19:28:20 GMT 2024
    - Last Modified: Sat Mar 02 05:11:03 GMT 2024
    - 37.3K bytes
    - Viewed (0)
Back to top