Class OrgsClient


  • public class OrgsClient
    extends java.lang.Object
    • Field Detail

      • connectionsClient

        protected final java.util.function.Supplier<ConnectionsClient> connectionsClient
      • offChrtShipperOrgClient

        protected final java.util.function.Supplier<OffChrtShipperOrgClient> offChrtShipperOrgClient
      • privateDataClient

        protected final java.util.function.Supplier<PrivateDataClient> privateDataClient
      • orgProfilesClient

        protected final java.util.function.Supplier<OrgProfilesClient> orgProfilesClient
      • publicDataClient

        protected final java.util.function.Supplier<PublicDataClient> publicDataClient
    • Constructor Detail

    • Method Detail

      • withRawResponse

        public RawOrgsClient withRawResponse()
        Get responses with HTTP metadata like headers
      • getInfoV1

        public OrgInfoResponse getInfoV1()
        Retrieves basic organization information from the authentication service. | () -> (OrgInfoResponse)
      • getInfoV1

        public OrgInfoResponse getInfoV1​(RequestOptions requestOptions)
        Retrieves basic organization information from the authentication service. | () -> (OrgInfoResponse)
      • listMembersV1

        public java.util.List<OrgMemberDetails> listMembersV1()
        Lists all members of the caller's organization with their roles and details. | () -> (list[OrgMemberDetails])
      • listMembersV1

        public java.util.List<OrgMemberDetails> listMembersV1​(RequestOptions requestOptions)
        Lists all members of the caller's organization with their roles and details. | () -> (list[OrgMemberDetails])
      • setOrgTypeV1

        public boolean setOrgTypeV1​(SetOrgTypeReq request)
        Sets the org_type in Clerk's JWT public metadata. Returns True if already set and matching, sets it if not present, or raises exception if conflicting. | (SetOrgTypeReq) -> (bool)
      • setOrgTypeV1

        public boolean setOrgTypeV1​(SetOrgTypeReq request,
                                    RequestOptions requestOptions)
        Sets the org_type in Clerk's JWT public metadata. Returns True if already set and matching, sets it if not present, or raises exception if conflicting. | (SetOrgTypeReq) -> (bool)
      • getStripeConnectAccountIdV1

        public java.lang.String getStripeConnectAccountIdV1()
        Retrieves the Stripe Connect account ID for the caller's organization. Returns 404 if not set. | () -> (str)
      • getStripeConnectAccountIdV1

        public java.lang.String getStripeConnectAccountIdV1​(RequestOptions requestOptions)
        Retrieves the Stripe Connect account ID for the caller's organization. Returns 404 if not set. | () -> (str)