kustomer-client
    Preparing search index...

    Function getCurrentAuthToken

    • Get Current Auth Token Gets the current authentication token data

      Type Parameters

      • ThrowOnError extends boolean = true

      Returns RequestResult<
          {
              data: {
                  attributes: {
                      createdAt: string;
                      ipAddress: string;
                      lastAccessedAt: string;
                      lastTokenChars: string;
                      name: string;
                      roles: string[];
                      updatedAt: string;
                      userAgent: string;
                  };
                  id: string;
                  links: { self: string };
                  relationships: {
                      org: { data: { id: string; type: string }; links: { self: string } };
                      user: { data: { id: string; type: string }; links: { self: string } };
                  };
                  type: string;
              };
          },
          unknown,
          ThrowOnError,
      >