Class PatCredential

java.lang.Object
edu.ucsb.cs.scaffold.entity.PatCredential

@Entity public class PatCredential extends Object
A user's encrypted personal access token (PAT) for one platform (GitHub or PrairieLearn). One credential per user per platform. The token itself is write-only: only the AES-256-GCM ciphertext is stored, and it is never serialized to JSON — clients see only metadata (last four characters, expiration date).
  • Constructor Details

    • PatCredential

      public PatCredential()