name the mint, not the publisher, as the writer of the client secrets
Finishes the sweep of prose that said the publisher unit writes or carries the OIDC client secrets: rust docs, nix comments and option descriptions, test names and docs.
This commit is contained in:
parent
05665c05f3
commit
2fc63d844b
1 changed files with 52 additions and 52 deletions
|
|
@ -119,8 +119,8 @@ pub struct AgentCredential {
|
|||
mod tests {
|
||||
use super::*;
|
||||
|
||||
/// Spelled out in full because `swarm-secret-publisher.nix` and
|
||||
/// `swarm-bao.nix` write the same string by hand.
|
||||
/// Spelled out in full because the path layout in `swarm-secret-publisher.nix`
|
||||
/// and `swarm-bao.nix` is written out by hand there too.
|
||||
#[test]
|
||||
fn the_controller_client_lands_under_the_controller() {
|
||||
assert_eq!(
|
||||
|
|
@ -147,8 +147,9 @@ mod tests {
|
|||
assert!(reads(&own), "{own} should be readable under {granted:?}");
|
||||
}
|
||||
|
||||
/// Spelled out in full because `swarm-secret-publisher.nix` writes the
|
||||
/// same string by hand.
|
||||
/// Spelled out in full because the path layout in
|
||||
/// `swarm-secret-publisher.nix`, where authelia's mint takes it from, is
|
||||
/// written out by hand there too.
|
||||
#[test]
|
||||
fn a_hives_own_client_lands_under_its_own_principal_prefix() {
|
||||
assert_eq!(
|
||||
|
|
|
|||
Loading…
Reference in a new issue