Skip to content

Commit

Permalink
docs: Documents add_auth_layers
Browse files Browse the repository at this point in the history
  • Loading branch information
andyquinterom committed Oct 22, 2024
1 parent a468d8e commit bcc5305
Show file tree
Hide file tree
Showing 4 changed files with 34 additions and 3 deletions.
5 changes: 4 additions & 1 deletion Makefile
Original file line number Diff line number Diff line change
@@ -1,8 +1,11 @@
.PHONY: install entra_id google
.PHONY: install entra_id google document

install:
Rscript -e "devtools::install()"

document:
Rscript -e "devtools::document()"

entra_id:
faucet start -w 1 -d example/entra_id

Expand Down
7 changes: 7 additions & 0 deletions R/shiny.R
Original file line number Diff line number Diff line change
Expand Up @@ -2,6 +2,13 @@ internal_add_auth_layers <- function(config, tower) {
UseMethod("internal_add_auth_layers")
}

#' @title Add authentication middle ware to a 'tower' object
#' @description Attaches the necessary authentication layers
#' to a 'tower' object. This will secure any layer added
#' after.
#' @param tower A 'tower' object from the package 'tower'
#' @param config An 'openid_config' object
#' @return A modified 'tower' object with authentication layers
#' @export
add_auth_layers <- function(tower, config) {
internal_add_auth_layers(config, tower)
Expand Down
21 changes: 21 additions & 0 deletions man/add_auth_layers.Rd

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

4 changes: 2 additions & 2 deletions man/tapLock-package.Rd

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

0 comments on commit bcc5305

Please sign in to comment.