Commit 43cf53b2 authored by Yadd's avatar Yadd
Browse files

Portal PSGI in progress (#595)

parent 9be52a62
...@@ -116,7 +116,10 @@ sub checkConf { ...@@ -116,7 +116,10 @@ sub checkConf {
); );
next; next;
} }
$self->addRoute( $path, $issuerDBtype, [qw(GET POST PUT DELETE)] ); $self->addAuthRoute( $path, "${issuerDBtype}ForAuthUser",
[qw(GET POST PUT DELETE)] );
$self->addUnauthRoute( $path, "${issuerDBtype}ForUnauthUser",
[qw(GET POST PUT DELETE)] );
# TODO "check the path" # TODO "check the path"
} }
...@@ -159,16 +162,28 @@ sub loadModule { ...@@ -159,16 +162,28 @@ sub loadModule {
return 1; return 1;
} }
sub SAML { sub SAMLForAuthUser {
} }
sub OpenID { sub SAMLForUnauthUser {
} }
sub CAS { sub OpenIDForAuthUser {
} }
sub OpenIDConnect { sub OpenIDForUnauthUser {
}
sub CASForAuthUser {
}
sub CASForUnauthUser {
}
sub OpenIDConnectForAuthUser {
}
sub OpenIDConnectForUnauthUser {
} }
# TODO in run # TODO in run
......
Supports Markdown
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment