SmeeView.Aspects.IdP (SmeeView v0.1.0) View Source
This aspect contains a bundle of related aspects for the IdP 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
Lists of attributes associated with this role
Lists MDUI displaynames used by this role
Lists MD Disco domain hints as domain aspects
List MD Disco geolocation hints as geolocation aspects
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
List NameID format URIs as aspects
Lists MDDisco IPHints as Network aspects
Returns a list of protocol aspects for this role
Returns the associated role for this aspect: :sp, :idp or :all
Lists Shibboleth domain scopes used by the IdP (not oauth/OIDC scopes)
Lists all types of services for this role
Is this aspect relevant to the SP role?
Returns true if the IdP demands Authn requests to be signed
Link to this section Types
Specs
Link to this section Functions
Specs
Lists of attributes associated with this role
IdP.attributes(aspect)
# => [%Attribute{}, %Attribute{}]
Specs
Lists MDUI displaynames used by this role
IdP.displaynames(aspect)
# => [%Displayname{}, %Displayname{}, %Displayname{}]
Specs
Lists MD Disco domain hints as domain aspects
IdP.domains(aspect)
# => [%Domain{}]
Specs
List MD Disco geolocation hints as geolocation aspects
IdP.geolocations(aspect)
# => [Geolocation{},Geolocation{}]
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.
IdP.idp?(aspect)
# => true
Specs
Lists public keys for this role
IdP.keys(aspect)
# => [%Key{}, %Key{}]
Specs
Lists MD Disco keyword sets as Keywords aspects
IdP.keywords(aspect)
# => [Keywords{}]
Specs
Lists MDUI logos used by this role
IdP.logos(aspect)
# => [Logo{}, Logo{}, Logo{}]
Specs
List NameID format URIs as aspects
IdP.nameid_formats(aspect)
# => [%NameID{}]
Specs
Lists MDDisco IPHints as Network aspects
IdP.networks(aspect)
# => [%Network{}, %Network{}]
Specs
Returns a list of protocol aspects for this role
IdP.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.
IdP.role(aspect)
# => :idp
Specs
Lists Shibboleth domain scopes used by the IdP (not oauth/OIDC scopes)
IdP.scopes(aspect)
# => [%Scope{regex: false, domain: "unseen.edu"}]
Specs
Lists all types of services for this role
IdP.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.
IdP.sp?(aspect)
# => false
Specs
Returns true if the IdP demands Authn requests to be signed
IdP.want_authn_requests_signed?(aspect)
# => false