Skip to main content

principal_subject

Function principal_subject 

Source
pub fn principal_subject(cx: &Context) -> Result<SubjectRef, KeepsakeError>
Expand description

Maps a gatekeep context through PrincipalSubjectMapper.

ยงErrors

Returns KeepsakeError if the mapped subject is invalid.