Package ca.ubc.ece.flowable.oidc
Class IdToken
- java.lang.Object
-
- ca.ubc.ece.flowable.oidc.IdToken
-
public class IdToken extends java.lang.Object
Class for providing the values encoded in an id token.
-
-
Constructor Summary
Constructors Constructor Description IdToken()
-
Method Summary
Modifier and Type Method Description java.lang.String
getAcr()
Returns the value for the acr attribute.java.lang.String
getAtHash()
Returns the value for the at_hash attribute.java.lang.String
getAud()
Returns the value for the aud attribute.java.lang.String
getAuthTime()
Returns the value for the auth_time attribute.java.lang.String
getAzp()
Returns the value for the azp attribute.java.lang.String
getDisplayName()
Returns the value for the displayName attribute.java.lang.String
getEmail()
Returns the value for the email attribute.int
getExp()
Returns the value for the exp attribute.java.lang.String
getFamilyName()
Returns the value for the family_name attribute.java.lang.String
getGivenName()
Returns the value for the given_name attribute.java.lang.String
getGivenName2()
Returns the value for the givenName attribute.java.lang.String[]
getGroupMembership()
Returns the value for the groupMembership attribute.java.lang.String
getHd()
Returns the value for the hd attribute.int
getIat()
Returns the value for the iat attribute.java.lang.String
getIss()
Returns the value for the iss attribute.java.lang.String
getLocale()
Returns the value for the locale attribute.java.lang.String
getMail()
Returns the value for the mail attribute.java.lang.String
getName()
Returns the value for the name attribute.java.lang.String
getNonce()
Returns the value for the nonce attribute.java.lang.String
getPicture()
Returns the value for the picture attribute.java.lang.String
getPreferredUsername()
Returns the value for the preferred_username attribute.java.lang.String
getProfile()
Returns the value for the profile attribute.java.lang.String
getSessionState()
Returns the value for the session_state attribute.java.lang.String
getSid()
Returns the value for the sid attribute.java.lang.String
getSn()
Returns the value for the sn attribute.java.lang.String
getStudentNumber()
Returns the value for the ubcPersonStudentNumber attribute.java.lang.String
getSub()
Returns the value for the sub attribute.java.lang.String
getTyp()
Returns the value for the typ attribute.java.lang.String
getUid()
Returns the value for the uid attribute.boolean
isEmailVerified()
Returns the value for the email_verified attribute.void
setAcr(java.lang.String acr)
Sets the value for the acr attribute.void
setAtHash(java.lang.String at_hash)
Sets the value for the at_hash attribute.void
setAud(java.lang.String aud)
Sets the value for the aud attribute.void
setAuthTime(java.lang.String auth_time)
Sets the value for the auth_time attribute.void
setAzp(java.lang.String azp)
Sets the value for the azp attribute.void
setDisplayName(java.lang.String displayName)
Sets the value for the displayName attribute.void
setEmail(java.lang.String email)
Sets the value for the email attribute.void
setEmailVerified(boolean email_verified)
Sets the value for the email_verified attribute.void
setExp(int exp)
Sets the value for the exp attribute.void
setFamilyName(java.lang.String family_name)
Sets the value for the family_name attribute.void
setGivenName(java.lang.String given_name)
Sets the value for the given_name attribute.void
setGivenName2(java.lang.String givenName)
Sets the value for the givenName attribute.void
setGroupMembership(java.lang.String[] groupMembership)
Sets the value for the groupMembership attribute.void
setHd(java.lang.String hd)
Sets the value for the hd attribute.void
setIat(int iat)
Sets the value for the iat attribute.void
setIss(java.lang.String iss)
Sets the value for the iss attribute.void
setLocale(java.lang.String locale)
Sets the value for the locale attribute.void
setMail(java.lang.String mail)
Sets the value for the mail attribute.void
setName(java.lang.String name)
Sets the value for the name attribute.void
setNonce(java.lang.String nonce)
Sets the value for the nonce attribute.void
setPicture(java.lang.String picture)
Sets the value for the picture attribute.void
setPreferredUsername(java.lang.String preferred_username)
Sets the value for the preferred_username attribute.void
setProfile(java.lang.String profile)
Sets the value for the profile attribute.void
setSessionState(java.lang.String session_state)
Sets the value for the session_state attribute.void
setSid(java.lang.String sid)
Sets the value for the sid attribute.void
setSn(java.lang.String sn)
Sets the value for the sn attribute.void
setStudentNumber(java.lang.String ubcPersonStudentNumber)
Sets the value for the ubcPersonStudentNumber attribute.void
setSub(java.lang.String sub)
Sets the value for the sub attribute.void
setTyp(java.lang.String typ)
Sets the value for the typ attribute.void
setUid(java.lang.String uid)
Sets the value for the uid attribute.
-
-
-
Method Detail
-
getAtHash
public java.lang.String getAtHash()
Returns the value for the at_hash attribute.- Returns:
- the at_hash attribute
-
setAtHash
public void setAtHash(java.lang.String at_hash)
Sets the value for the at_hash attribute.- Parameters:
at_hash
- the at_hash attribute
-
getAud
public java.lang.String getAud()
Returns the value for the aud attribute.- Returns:
- the aud attribute
-
setAud
public void setAud(java.lang.String aud)
Sets the value for the aud attribute.- Parameters:
aud
- the aud attribute
-
getSub
public java.lang.String getSub()
Returns the value for the sub attribute.- Returns:
- the sub attribute
-
setSub
public void setSub(java.lang.String sub)
Sets the value for the sub attribute.- Parameters:
sub
- the sub attribute
-
getAzp
public java.lang.String getAzp()
Returns the value for the azp attribute.- Returns:
- the azp attribute
-
setAzp
public void setAzp(java.lang.String azp)
Sets the value for the azp attribute.- Parameters:
azp
- the azp attribute
-
getIss
public java.lang.String getIss()
Returns the value for the iss attribute.- Returns:
- the iss attribute
-
setIss
public void setIss(java.lang.String iss)
Sets the value for the iss attribute.- Parameters:
iss
- the iss attribute
-
getExp
public int getExp()
Returns the value for the exp attribute.- Returns:
- the exp attribute
-
setExp
public void setExp(int exp)
Sets the value for the exp attribute.- Parameters:
exp
- the exp attribute
-
getNonce
public java.lang.String getNonce()
Returns the value for the nonce attribute.- Returns:
- the nonce attribute
-
setNonce
public void setNonce(java.lang.String nonce)
Sets the value for the nonce attribute.- Parameters:
nonce
- the nonce attribute
-
getIat
public int getIat()
Returns the value for the iat attribute.- Returns:
- the iat attribute
-
setIat
public void setIat(int iat)
Sets the value for the iat attribute.- Parameters:
iat
- the iat attribute
-
getEmail
public java.lang.String getEmail()
Returns the value for the email attribute.- Returns:
- the email attribute
-
setEmail
public void setEmail(java.lang.String email)
Sets the value for the email attribute.- Parameters:
email
- the email attribute
-
isEmailVerified
public boolean isEmailVerified()
Returns the value for the email_verified attribute.- Returns:
- the email_verified attribute
-
setEmailVerified
public void setEmailVerified(boolean email_verified)
Sets the value for the email_verified attribute.- Parameters:
email_verified
- the email_verified attribute
-
getFamilyName
public java.lang.String getFamilyName()
Returns the value for the family_name attribute.- Returns:
- the family_name attribute
-
setFamilyName
public void setFamilyName(java.lang.String family_name)
Sets the value for the family_name attribute.- Parameters:
family_name
- the family_name attribute
-
getGivenName
public java.lang.String getGivenName()
Returns the value for the given_name attribute.- Returns:
- the given_name attribute
-
setGivenName
public void setGivenName(java.lang.String given_name)
Sets the value for the given_name attribute.- Parameters:
given_name
- the given_name attribute
-
getHd
public java.lang.String getHd()
Returns the value for the hd attribute.- Returns:
- the hd attribute
-
setHd
public void setHd(java.lang.String hd)
Sets the value for the hd attribute.- Parameters:
hd
- the hd attribute
-
getLocale
public java.lang.String getLocale()
Returns the value for the locale attribute.- Returns:
- the locale attribute
-
setLocale
public void setLocale(java.lang.String locale)
Sets the value for the locale attribute.- Parameters:
locale
- the locale attribute
-
getName
public java.lang.String getName()
Returns the value for the name attribute.- Returns:
- the name attribute
-
setName
public void setName(java.lang.String name)
Sets the value for the name attribute.- Parameters:
name
- the name attribute
-
getPicture
public java.lang.String getPicture()
Returns the value for the picture attribute.- Returns:
- the picture attribute
-
setPicture
public void setPicture(java.lang.String picture)
Sets the value for the picture attribute.- Parameters:
picture
- the picture attribute
-
getProfile
public java.lang.String getProfile()
Returns the value for the profile attribute.- Returns:
- the profile attribute
-
setProfile
public void setProfile(java.lang.String profile)
Sets the value for the profile attribute.- Parameters:
profile
- the profile attribute
-
getAuthTime
public java.lang.String getAuthTime()
Returns the value for the auth_time attribute.- Returns:
- the auth_time attribute
-
setAuthTime
public void setAuthTime(java.lang.String auth_time)
Sets the value for the auth_time attribute.- Parameters:
auth_time
- the auth_time attribute
-
getPreferredUsername
public java.lang.String getPreferredUsername()
Returns the value for the preferred_username attribute.- Returns:
- the preferred_username attribute
-
setPreferredUsername
public void setPreferredUsername(java.lang.String preferred_username)
Sets the value for the preferred_username attribute.- Parameters:
preferred_username
- the preferred_username attribute
-
getAcr
public java.lang.String getAcr()
Returns the value for the acr attribute.- Returns:
- the acr attribute
-
setAcr
public void setAcr(java.lang.String acr)
Sets the value for the acr attribute.- Parameters:
acr
- the acr attribute
-
getTyp
public java.lang.String getTyp()
Returns the value for the typ attribute.- Returns:
- the typ attribute
-
setTyp
public void setTyp(java.lang.String typ)
Sets the value for the typ attribute.- Parameters:
typ
- the typ attribute
-
getSessionState
public java.lang.String getSessionState()
Returns the value for the session_state attribute.- Returns:
- the session_state attribute
-
setSessionState
public void setSessionState(java.lang.String session_state)
Sets the value for the session_state attribute.- Parameters:
session_state
- the session_state attribute
-
getSid
public java.lang.String getSid()
Returns the value for the sid attribute.- Returns:
- the sid attribute
-
setSid
public void setSid(java.lang.String sid)
Sets the value for the sid attribute.- Parameters:
sid
- the sid attribute
-
getMail
public java.lang.String getMail()
Returns the value for the mail attribute.- Returns:
- the mail attribute
-
setMail
public void setMail(java.lang.String mail)
Sets the value for the mail attribute.- Parameters:
mail
- the mail attribute
-
getSn
public java.lang.String getSn()
Returns the value for the sn attribute.- Returns:
- the sn attribute
-
setSn
public void setSn(java.lang.String sn)
Sets the value for the sn attribute.- Parameters:
sn
- the sn attribute
-
getGivenName2
public java.lang.String getGivenName2()
Returns the value for the givenName attribute.- Returns:
- the givenName attribute
-
setGivenName2
public void setGivenName2(java.lang.String givenName)
Sets the value for the givenName attribute.- Parameters:
givenName
- the givenName attribute
-
getDisplayName
public java.lang.String getDisplayName()
Returns the value for the displayName attribute.- Returns:
- the displayName attribute
-
setDisplayName
public void setDisplayName(java.lang.String displayName)
Sets the value for the displayName attribute.- Parameters:
displayName
- the displayName attribute
-
getUid
public java.lang.String getUid()
Returns the value for the uid attribute.- Returns:
- the uid attribute
-
setUid
public void setUid(java.lang.String uid)
Sets the value for the uid attribute.- Parameters:
uid
- the uid attribute
-
getStudentNumber
public java.lang.String getStudentNumber()
Returns the value for the ubcPersonStudentNumber attribute.- Returns:
- the ubcPersonStudentNumber attribute
-
setStudentNumber
public void setStudentNumber(java.lang.String ubcPersonStudentNumber)
Sets the value for the ubcPersonStudentNumber attribute.- Parameters:
ubcPersonStudentNumber
- the ubcPersonStudentNumber attribute
-
getGroupMembership
public java.lang.String[] getGroupMembership()
Returns the value for the groupMembership attribute.- Returns:
- the groupMembership attribute
-
setGroupMembership
public void setGroupMembership(java.lang.String[] groupMembership)
Sets the value for the groupMembership attribute.- Parameters:
groupMembership
- the groupMembership attribute
-
-