Function transformer

  • A type declaration for the Transformer

    Parameters

    • data: {
          aud?: string | string[];
          exp?: number;
          iss?: string;
      } & {
          http://wso2.org/claims/apicontext: string;
          http://wso2.org/claims/applicationid: string;
          http://wso2.org/claims/applicationname: string;
          http://wso2.org/claims/applicationtier: string;
          http://wso2.org/claims/client_id: string;
          http://wso2.org/claims/enduser: string;
          http://wso2.org/claims/enduserTenantId: string;
          http://wso2.org/claims/keytype: KeyType;
          http://wso2.org/claims/subscriber: string;
          http://wso2.org/claims/tier: string;
          http://wso2.org/claims/usertype: UserType;
          http://wso2.org/claims/version: string;
      } & {
          http://byu.edu/claims/client_byu_id: string;
          http://byu.edu/claims/client_claim_source: ClientClaimSource;
          http://byu.edu/claims/client_name_prefix: string;
          http://byu.edu/claims/client_name_suffix: string;
          http://byu.edu/claims/client_net_id: string;
          http://byu.edu/claims/client_person_id: string;
          http://byu.edu/claims/client_preferred_first_name: string;
          http://byu.edu/claims/client_rest_of_name: string;
          http://byu.edu/claims/client_sort_name: string;
          http://byu.edu/claims/client_subscriber_net_id: string;
          http://byu.edu/claims/client_surname: string;
          http://byu.edu/claims/client_surname_position: string;
      } & {
          http://byu.edu/claims/resourceowner_byu_id?: string;
          http://byu.edu/claims/resourceowner_net_id?: string;
          http://byu.edu/claims/resourceowner_person_id?: string;
          http://byu.edu/claims/resourceowner_preferred_first_name?: string;
          http://byu.edu/claims/resourceowner_prefix?: string;
          http://byu.edu/claims/resourceowner_rest_of_name?: string;
          http://byu.edu/claims/resourceowner_sort_name?: string;
          http://byu.edu/claims/resourceowner_suffix?: string;
          http://byu.edu/claims/resourceowner_surname?: string;
          http://byu.edu/claims/resourceowner_surname_position?: string;
      }

    Returns TransformedJwtPayload

Generated using TypeDoc