pub struct SpMetadataBuilder { /* private fields */ }Expand description
SP 元数据构建器
Implementations§
Source§impl SpMetadataBuilder
impl SpMetadataBuilder
Sourcepub fn with_slo_url(self, url: impl Into<String>) -> Self
pub fn with_slo_url(self, url: impl Into<String>) -> Self
设置 SLO URL
Sourcepub fn with_name_id_formats(self, formats: Vec<NameIdFormat>) -> Self
pub fn with_name_id_formats(self, formats: Vec<NameIdFormat>) -> Self
设置名称 ID 格式
Sourcepub fn with_want_assertions_signed(self, want: bool) -> Self
pub fn with_want_assertions_signed(self, want: bool) -> Self
设置是否需要签名断言
Sourcepub fn with_authn_requests_signed(self, signed: bool) -> Self
pub fn with_authn_requests_signed(self, signed: bool) -> Self
设置是否签名认证请求
Sourcepub fn with_certificate(self, cert: impl Into<String>) -> Self
pub fn with_certificate(self, cert: impl Into<String>) -> Self
设置证书
Sourcepub fn build(self) -> EntityDescriptor
pub fn build(self) -> EntityDescriptor
构建元数据
Trait Implementations§
Source§impl Clone for SpMetadataBuilder
impl Clone for SpMetadataBuilder
Source§fn clone(&self) -> SpMetadataBuilder
fn clone(&self) -> SpMetadataBuilder
Returns a duplicate of the value. Read more
1.0.0 · Source§fn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
Performs copy-assignment from
source. Read moreAuto Trait Implementations§
impl Freeze for SpMetadataBuilder
impl RefUnwindSafe for SpMetadataBuilder
impl Send for SpMetadataBuilder
impl Sync for SpMetadataBuilder
impl Unpin for SpMetadataBuilder
impl UnsafeUnpin for SpMetadataBuilder
impl UnwindSafe for SpMetadataBuilder
Blanket Implementations§
Source§impl<T> BorrowMut<T> for Twhere
T: ?Sized,
impl<T> BorrowMut<T> for Twhere
T: ?Sized,
Source§fn borrow_mut(&mut self) -> &mut T
fn borrow_mut(&mut self) -> &mut T
Mutably borrows from an owned value. Read more