Class WorkloadIdentityUtil


  • @SnowflakeJdbcInternalApi
    public class WorkloadIdentityUtil
    extends Object
    Utility class for Workload Identity Federation (WIF) specific operations. This class contains functions that are used exclusively within the WIF package.
    • Constructor Detail

      • WorkloadIdentityUtil

        public WorkloadIdentityUtil()
    • Method Detail

      • extractClaimsWithoutVerifyingSignature

        public static WorkloadIdentityUtil.SubjectAndIssuer extractClaimsWithoutVerifyingSignature​(String token)
                                                                                            throws SFException
        Extracts claims (subject and issuer) from a JWT token without verifying the signature. This is used in WIF flows where signature verification is handled elsewhere.
        Throws:
        SFException