Search Options

Results per page
Sort
Preferred Languages
Advance

Results 1 - 2 of 2 for GetIDPSettings (0.3 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 Jun 16 00:44:34 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)
    	}
    
    	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 Jun 16 00:44:34 UTC 2024
    - Last Modified: Fri May 24 23:05:23 UTC 2024
    - 184.3K bytes
    - Viewed (0)
Back to top