Search Options

Results per page
Sort
Preferred Languages
Advance

Results 1 - 2 of 2 for GetIDPSettings (0.14 sec)

  1. cmd/admin-handlers-site-replication.go

    	ctx := r.Context()
    
    	objectAPI, _ := validateAdminReq(ctx, w, r, policy.SiteReplicationAddAction)
    	if objectAPI == nil {
    		return
    	}
    
    	idpSettings := globalSiteReplicationSys.GetIDPSettings(ctx)
    	if err := json.NewEncoder(w).Encode(idpSettings); err != nil {
    		writeErrorResponseJSON(ctx, w, toAdminAPIErr(ctx, err), r.URL)
    		return
    	}
    }
    
    Registered: Sun Nov 03 19:28:11 UTC 2024
    - Last Modified: Fri May 24 23:05:23 UTC 2024
    - 19.4K bytes
    - Viewed (0)
  2. cmd/site-replication.go

    	}
    	if !globalSiteReplicatorCred.IsValid() {
    		globalSiteReplicatorCred.Set(sa.SecretKey)
    	}
    
    	return nil
    }
    
    // GetIDPSettings returns info about the configured identity provider. It is
    // used to validate that all peers have the same IDP.
    func (c *SiteReplicationSys) GetIDPSettings(ctx context.Context) madmin.IDPSettings {
    	s := madmin.IDPSettings{}
    	s.LDAP = madmin.LDAPSettings{
    Registered: Sun Nov 03 19:28:11 UTC 2024
    - Last Modified: Thu Aug 15 12:04:40 UTC 2024
    - 185.1K bytes
    - Viewed (0)
Back to top