Skip to content
GitLab
Explore
Sign in
Primary navigation
Search or go to…
Project
S
simplesamlphp
Manage
Activity
Members
Labels
Plan
Jira
Code
Merge requests
0
Repository
Branches
Commits
Tags
Repository graph
Compare revisions
Snippets
Locked files
Build
Pipelines
Jobs
Pipeline schedules
Artifacts
Deploy
Releases
Model registry
Analyze
Model experiments
Help
Help
Support
GitLab documentation
Compare GitLab plans
Community forum
Contribute to GitLab
Provide feedback
Keyboard shortcuts
?
Snippets
Groups
Projects
This is an archived project. Repository and other project resources are read-only.
Show more breadcrumbs
Perun
Perun ProxyIdP
v1
simplesamlphp
Commits
8a246c6a
Commit
8a246c6a
authored
2 years ago
by
Thijs Kinkhorst
Browse files
Options
Downloads
Patches
Plain Diff
Update docs for changed filesystem paths
parent
efb856cb
No related branches found
No related tags found
No related merge requests found
Changes
2
Hide whitespace changes
Inline
Side-by-side
Showing
2 changed files
docs/simplesamlphp-maintenance.md
+2
-9
2 additions, 9 deletions
docs/simplesamlphp-maintenance.md
docs/simplesamlphp-modules.md
+11
-11
11 additions, 11 deletions
docs/simplesamlphp-modules.md
with
13 additions
and
20 deletions
docs/simplesamlphp-maintenance.md
+
2
−
9
View file @
8a246c6a
# SimpleSAMLphp Maintenance
<!--
This file is written in Markdown syntax.
For more information about how to use the Markdown syntax, read here:
http://daringfireball.net/projects/markdown/syntax
-->
[TOC]
## SimpleSAMLphp news and documentation
Please check the following sources of information to stay up to date with regard to SimpleSAMLphp:
*
[
SimpleSAMLphp documentation
](
http://simplesamlphp.org/docs
)
*
[
SimpleSAMLphp documentation
](
http
s
://simplesamlphp.org/docs
)
*
[
SimpleSAMLphp homepage
](
https://simplesamlphp.org
)
*
[
SimpleSAMLphp mailing lists
](
https://simplesamlphp.org/lists
)
*
[
SimpleSAMLphp in twitter
](
https://twitter.com/simplesamlphp
)
## Session management
...
...
@@ -220,7 +213,7 @@ example configuration of different metadata sources in use at the same time:
You may also implement your own metadata storage handler, in a very similar way to how you would implement
your own session handler. Your class
**must**
extend the
`\SimpleSAML\Metadata\MetaDataStorageSource`
class
and override the methods needed to change the backend used. This class
**must**
also be located in the
`
lib
/MetadataStore/`
directory of your custom module.
`
src
/MetadataStore/`
directory of your custom module.
Bear in mind that
**your class name must follow the PSR-0 autoloading standard**
. This means it needs to be
named in a particular way, with the use of namespaces being the preferred convention. For example, if your
...
...
This diff is collapsed.
Click to expand it.
docs/simplesamlphp-modules.md
+
11
−
11
View file @
8a246c6a
...
...
@@ -60,25 +60,25 @@ hooks
file in this directory represents a single function. See the
hook-section in the documentation for more information.
lib
src
: This directory contains classes which belong to this module.
All classes must be named in the following pattern:
`\SimpleSAML\Module\<module name>\<class name>`
When looking up the filename of
a class, SimpleSAMLphp will search for
`<class name>`
in the
`
lib
`
a class, SimpleSAMLphp will search for
`<class name>`
in the
`
src
`
directory. Underscores in the class name will be translated into
slashes.
: Thus, if SimpleSAMLphp needs to load a class named
`\SimpleSAML\Module\example\Auth\Source\Example`
, it will load the file named
`modules/example/
lib
/Auth/Source/Example.php`
.
`modules/example/
src
/Auth/Source/Example.php`
.
templates
: These are module-specific templates. To use one of these
templates, specify
`<module name>:<template file>.
php
`
templates, specify
`<module name>:<template file>.
twig
`
as the template file in the constructor of
`\SimpleSAML\XHTML\Template`
. For example,
`example:login-form.
php
`
`\SimpleSAML\XHTML\Template`
. For example,
`example:login-form.
twig
`
is translated to the file
`modules/example/templates/default/login-form.
php
`
. Note that
`modules/example/templates/default/login-form.
twig
`
. Note that
`default`
in the previous example is defined by the
`theme.use`
configuration option.
...
...
@@ -95,11 +95,11 @@ themes
`<module name>:<theme name>`
.
: When using the theme
`example:blue`
, the template
`templates/default/login.
php
`
will be overridden by
`modules/example/themes/blue/default/login.
php
`
, while the template
`modules/core/templates/default/loginuserpass.
php
`
will be
`templates/default/login.
twig
`
will be overridden by
`modules/example/themes/blue/default/login.
twig
`
, while the template
`modules/core/templates/default/loginuserpass.
twig
`
will be
overridden by
`modules/example/themes/blue/core/loginuserpass.
php
`
.
`modules/example/themes/blue/core/loginuserpass.
twig
`
.
www
: All files stored in this directory will be available by
...
...
@@ -136,7 +136,7 @@ A typical configuration entry for an authentication source looks like
this:
'example-static' => [
/* This maps to modules/exampleauth/
lib
/Auth/Source/Static.php */
/* This maps to modules/exampleauth/
src
/Auth/Source/Static.php */
'exampleauth:StaticSource',
/* The following is configuration which is passed on to
...
...
This diff is collapsed.
Click to expand it.
Preview
0%
Loading
Try again
or
attach a new file
.
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Save comment
Cancel
Please
register
or
sign in
to comment