Search Options

Results per page
Sort
Preferred Languages
Advance

Results 1 - 1 of 1 for NewLDAPIdentity (0.19 sec)

  1. docs/sts/ldap.go

    			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 {
    		log.Fatalf("Error initializing LDAP Identity: %v", err)
    	}
    
    	stsEndpointURL, err := url.Parse(stsEndpoint)
    	if err != nil {
    Go
    - Registered: Sun Apr 28 19:28:10 GMT 2024
    - Last Modified: Mon Sep 19 18:05:16 GMT 2022
    - 4K bytes
    - Viewed (0)
Back to top