How to hard code CAS with TICKET id?

i want write hard code CAS or NOCAS login credentials with TICKET id, how to do