Class Auth

Constructors

  • Parameters

    Returns Auth

Properties

api: Api

Methods

  • Parameters

    • useCache: boolean = true

    Returns Promise<ProfileData>

  • Parameters

    • username: string

    Returns Promise<UserApiData>

  • Parameters

    • username: string
    • password: string

    Returns Promise<ProfileData>

  • Parameters

    • data:
          | ChangePasswordFormData
          | Partial<
              Partial<
                  {
                      cn: string;
                      landingPage: string;
                      mail: string;
                      mobile: string;
                      note: string;
                      preferredLanguage: string;
                      sn: string;
                      timezone: string;
                  },
              >,
          >

    Returns Promise<ApiResponse<void, void>>