Search Options

Results per page
Sort
Preferred Languages
Advance

Results 1 - 1 of 1 for LDAPIdentityPolicyOpt (0.3 sec)

  1. docs/sts/ldap.go

    		} else {
    			bs, err := io.ReadAll(f)
    			if err != nil {
    				log.Fatalf("Error reading session policy file: %v", err)
    			}
    			policy = string(bs)
    		}
    		ldapOpts = append(ldapOpts, cr.LDAPIdentityPolicyOpt(policy))
    	}
    	if expiryDuration != 0 {
    		ldapOpts = append(ldapOpts, cr.LDAPIdentityExpiryOpt(expiryDuration))
    	}
    	li, err := cr.NewLDAPIdentity(stsEndpoint, ldapUsername, ldapPassword, ldapOpts...)
    	if err != nil {
    Registered: Sun Oct 27 19:28:09 UTC 2024
    - Last Modified: Wed Aug 07 12:59:47 UTC 2024
    - 4K bytes
    - Viewed (0)
Back to top