Skip to content

Commit 5de68c4

Browse files
committed
docs(server): finish renaming sandbox-secret to sandbox in method_authz doc comments
Signed-off-by: Mrunal Patel <[email protected]>
1 parent bb61648 commit 5de68c4

1 file changed

Lines changed: 3 additions & 3 deletions

File tree

‎crates/openshell-server/src/auth/method_authz.rs‎

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -22,10 +22,10 @@ pub struct MethodAuth {
2222
/// Authentication mode for the method.
2323
pub mode: AuthMode,
2424
/// Required OIDC scope on the Bearer path. `None` when the method
25-
/// is unauthenticated or sandbox-secret-only.
25+
/// is `unauthenticated` or `sandbox`-only.
2626
pub scope: Option<&'static str>,
2727
/// Required role on the Bearer path. `None` when the method is
28-
/// unauthenticated or sandbox-secret-only.
28+
/// `unauthenticated` or `sandbox`-only.
2929
pub role: Option<Role>,
3030
}
3131

@@ -75,7 +75,7 @@ pub fn all_paths() -> impl Iterator<Item = &'static str> {
7575
}
7676

7777
/// Required Bearer scope for the method, or `None` if scopes don't
78-
/// apply (unauthenticated, sandbox-secret).
78+
/// apply (`unauthenticated`, `sandbox`).
7979
#[must_use]
8080
pub fn required_scope(method: &str) -> Option<&'static str> {
8181
lookup(method).and_then(|m| m.scope)

0 commit comments

Comments
 (0)