-
Notifications
You must be signed in to change notification settings - Fork 0
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
kadmin, python-kadmin-rs: implement principal utilities #53
base: main
Are you sure you want to change the base?
Conversation
max_renewable_life: Duration, | ||
last_success: DateTime<Utc>, | ||
last_failed: DateTime<Utc>, | ||
/// Max renewable ticket life |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
/// Max renewable ticket life | |
/// Maximum renewable ticket life |
last_password_change: Option<DateTime<Utc>>, | ||
/// When the password expires | ||
password_expiration: Option<DateTime<Utc>>, | ||
/// Max ticket life |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
/// Max ticket life | |
/// Maximum ticket life |
/// A kadm5 principal | ||
#[derive(Debug)] | ||
#[allow(dead_code)] // TODO: remove me once implemented | ||
#[derive(Debug, Getters)] |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
#[derive(Debug, Getters)] | |
#[derive(Clone, Debug, Getters)] |
} | ||
|
||
/// Create the principal | ||
pub fn create<K: KAdminImpl>(&self, kadmin: &K) -> Result<()> { |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
pub fn create<K: KAdminImpl>(&self, kadmin: &K) -> Result<()> { | |
pub fn create<K: KAdminImpl>(&self, kadmin: &K) -> Result<Principal> { |
No description provided.