SmeeView.Aspects.SP (SmeeView v0.1.0) View Source
This aspect contains a bundle of related aspects for the SP role of an entity.
Since displaynames, descriptions, URLs, etc are often used together this Aspect exists to make gathering them all a little simpler.
You can extract and process each of the different types of aspects using their own View modules:
SmeeView.Displaynames
SmeeView.Names
SmeeView.Logos
SmeeView.PrivacyURLs
SmeeView.InformationURLs
SmeeView.Keywords
SmeeView.Organization
Link to this section Summary
Functions
Returns true if the signs authn requests is set
Lists MDUI displaynames used by this role
Is this aspect relevant to the IdP role?
Lists public keys for this role
Lists MD Disco keyword sets as Keywords aspects
Lists MDUI logos used by this role
Returns a list of protocol aspects for this role
Returns the associated role for this aspect: :sp, :idp or :all
Lists all types of services for this role
Is this aspect relevant to the SP role?
Returns true if the SP wants assertions to besigned
Link to this section Types
Specs
Link to this section Functions
Specs
Returns true if the signs authn requests is set
SP.authn_requests_signed?(aspect)
# => false
Specs
Lists MDUI displaynames used by this role
SP.displaynames(aspect)
# => [%Displayname{}, %Displayname{}, %Displayname{}]
Specs
Is this aspect relevant to the IdP role?
Will return true
if the aspect has been derived from an IdP role, or is applicable to all roles.
SP.idp?(aspect)
# => true
Specs
Lists public keys for this role
SP.keys(aspect)
# => [%Key{}, %Key{}]
Specs
Lists MD Disco keyword sets as Keywords aspects
SP.keywords(aspect)
# => [Keywords{}]
Specs
Lists MDUI logos used by this role
SP.logos(aspect)
# => [Logo{}, Logo{}, Logo{}]
Specs
Returns a list of protocol aspects for this role
SP.protocols(aspect)
# => [%Protocol{}, %Protocol{}]
Specs
Returns the associated role for this aspect: :sp, :idp or :all
The role type is useful when handling a mixed list of aspects that may be specific to certain roles of an entity.
SP.role(aspect)
# => :idp
Specs
Lists all types of services for this role
SP.services(aspect)
# => [%SingleSignOnService{}, %SingleLogoutService{}]
Specs
Is this aspect relevant to the SP role?
Will return true
if the aspect has been derived from an SP role, or is applicable to all roles.
SP.sp?(aspect)
# => false
Specs
Returns true if the SP wants assertions to besigned
SP.want_assertions_signed?(aspect)
# => false