Expand description
Enrolling this device as a trusted one: ask the server to start an enrollment, wait for the user to approve it on an enrolled device, then take the credentials that device shares.
The UI drives the enrollment through an SsoEnrollmentContext, which shows the progress, asks
for the verification code and can cancel at any point.
Enumsยง
- Server
Status ๐ - What the server reports about an enrollment.
- Stop ๐
- Why an enrollment ended early. It also decides what
end_enrollmentreports.
Functionsยง
- cancel_
enrollment ๐ - Tells the server to drop the enrollment, so the enrolled devices stop waiting on it. Errors are ignored: there is nothing left to do about them.
- enroll ๐
- The steps of the enrollment. The uuid goes to
startedas soon as the server hands it out, for the caller to cancel the enrollment should this be dropped halfway. - enroll_
device ๐ - Enrolls this device and returns the credential bundle an enrolled device shared.
- get_
enrollment_ ๐status - Reads the status of the enrollment.
- poll_
status_ ๐until_ done - Polls the status until it is one not in
ignore. - start_
enrollment ๐ - Starts an enrollment and returns its uuid.
- unknown_
status ๐ - A status that nothing expects at this point.
- valid_
status ๐ - Denial ends the enrollment, any other status is up to the caller.