{
  "_id": "6a1019c2acfb0bcc41c8612d",
  "Package": "azr",
  "Title": "Credential Chain for Seamless 'OAuth 2.0' Authentication to\n'Azure Services'",
  "Version": "0.3.4",
  "Authors@R": "person(\"Pedro\", \"Baltazar\",, \"pedrobtz@gmail.com\", role = c(\"aut\", \"cre\"))",
  "Description": "Implements a credential chain for 'Azure OAuth 2.0'\nauthentication based on the package 'httr2''s 'OAuth'\nframework. Sequentially attempts authentication methods until\none succeeds. During development allows interactive\nbrowser-based flows ('Device Code' and 'Auth Code' flows) and\nnon-interactive flow ('Client Secret') in batch mode.",
  "License": "MIT + file LICENSE",
  "Encoding": "UTF-8",
  "Roxygen": "list(markdown = TRUE)",
  "RoxygenNote": "7.3.3",
  "URL": "https://pedrobtz.github.io/azr/, https://github.com/pedrobtz/azr",
  "BugReports": "https://github.com/pedrobtz/azr/issues",
  "Config/testthat/edition": "3",
  "Config/Needs/website": "tidyverse/tidytemplate",
  "Config/pak/sysreqs": "libssl-dev",
  "Repository": "https://pedrobtz.r-universe.dev",
  "Date/Publication": "2026-05-14 11:43:49 UTC",
  "RemoteUrl": "https://github.com/pedrobtz/azr",
  "RemoteRef": "HEAD",
  "RemoteSha": "c4eea477153b076b6832125c2d8a6c06f556a2c4",
  "NeedsCompilation": "no",
  "Packaged": {
    "Date": "2026-05-14 12:28:45 UTC",
    "User": "root"
  },
  "Author": "Pedro Baltazar [aut, cre]",
  "Maintainer": "Pedro Baltazar <pedrobtz@gmail.com>",
  "MD5sum": "415e10037d0a7136bb056b65d0c6f0b9",
  "_user": "pedrobtz",
  "_type": "src",
  "_file": "azr_0.3.4.tar.gz",
  "_fileid": "2d5581029bbac15324cc3bb6020a2de5e7e323025e849f10ebcaf312ba1fde77",
  "_filesize": 450725,
  "_sha256": "2d5581029bbac15324cc3bb6020a2de5e7e323025e849f10ebcaf312ba1fde77",
  "_created": "2026-05-14T12:28:45.000Z",
  "_published": "2026-05-22T08:54:26.561Z",
  "_distro": "noble",
  "_jobs": [
    {
      "job": 77347598448,
      "time": 107,
      "config": "linux-devel-x86_64",
      "r": "4.7.0",
      "check": "OK",
      "artifact": "6994323783"
    },
    {
      "job": 77347598808,
      "time": 150,
      "config": "linux-release-x86_64",
      "r": "4.6.0",
      "check": "OK",
      "artifact": "6994335926"
    },
    {
      "job": 77347598877,
      "time": 105,
      "config": "macos-oldrel-arm64",
      "r": "4.5.3",
      "check": "OK",
      "artifact": "6994323110"
    },
    {
      "job": 77347598698,
      "time": 92,
      "config": "macos-release-arm64",
      "r": "4.6.0",
      "check": "OK",
      "artifact": "6994320048"
    },
    {
      "job": 77347597826,
      "time": 156,
      "config": "source",
      "r": "4.6.0",
      "check": "OK",
      "artifact": "6994293102"
    },
    {
      "job": 77347598014,
      "time": 100,
      "config": "wasm-release",
      "r": "4.6.0",
      "check": "OK",
      "artifact": "7156619670"
    },
    {
      "job": 77347598507,
      "time": 86,
      "config": "windows-devel",
      "r": "4.7.0",
      "check": "OK",
      "artifact": "6994317610"
    },
    {
      "job": 77347598785,
      "time": 76,
      "config": "windows-oldrel",
      "r": "4.5.3",
      "check": "OK",
      "artifact": "6994315228"
    },
    {
      "job": 77347598723,
      "time": 72,
      "config": "windows-release",
      "r": "4.6.0",
      "check": "OK",
      "artifact": "6994313618"
    }
  ],
  "_buildurl": "https://github.com/r-universe/pedrobtz/actions/runs/25859896973",
  "_status": "success",
  "_host": "GitHub-Actions",
  "_upstream": "https://github.com/pedrobtz/azr",
  "_commit": {
    "id": "c4eea477153b076b6832125c2d8a6c06f556a2c4",
    "author": "pedrobtz <pedrobtz@gmail.com>",
    "committer": "pedrobtz <pedrobtz@gmail.com>",
    "message": "add package logo\n",
    "time": 1778759029
  },
  "_maintainer": {
    "name": "Pedro Baltazar",
    "email": "pedrobtz@gmail.com",
    "login": "pedrobtz",
    "uuid": 2864346
  },
  "_registered": true,
  "_dependencies": [
    {
      "package": "R",
      "version": ">= 4.1",
      "role": "Depends"
    },
    {
      "package": "utils",
      "role": "Imports"
    },
    {
      "package": "R6",
      "role": "Imports"
    },
    {
      "package": "cli",
      "role": "Imports"
    },
    {
      "package": "httr2",
      "version": ">= 1.2.2",
      "role": "Imports"
    },
    {
      "package": "jsonlite",
      "role": "Imports"
    },
    {
      "package": "rlang",
      "role": "Imports"
    },
    {
      "package": "data.table",
      "role": "Suggests"
    },
    {
      "package": "httpuv",
      "role": "Suggests"
    },
    {
      "package": "clipr",
      "role": "Suggests"
    },
    {
      "package": "processx",
      "role": "Suggests"
    },
    {
      "package": "testthat",
      "version": ">= 3.0.0",
      "role": "Suggests"
    },
    {
      "package": "vcr",
      "version": ">= 2.0.0",
      "role": "Suggests"
    }
  ],
  "_owner": "pedrobtz",
  "_selfowned": true,
  "_usedby": 0,
  "_updates": [
    {
      "week": "2025-43",
      "n": 5
    },
    {
      "week": "2025-44",
      "n": 2
    },
    {
      "week": "2025-45",
      "n": 4
    },
    {
      "week": "2025-46",
      "n": 2
    },
    {
      "week": "2025-47",
      "n": 11
    },
    {
      "week": "2025-48",
      "n": 22
    },
    {
      "week": "2025-49",
      "n": 12
    },
    {
      "week": "2025-52",
      "n": 9
    },
    {
      "week": "2026-02",
      "n": 4
    },
    {
      "week": "2026-03",
      "n": 1
    },
    {
      "week": "2026-08",
      "n": 2
    },
    {
      "week": "2026-09",
      "n": 1
    },
    {
      "week": "2026-10",
      "n": 2
    },
    {
      "week": "2026-13",
      "n": 1
    },
    {
      "week": "2026-14",
      "n": 2
    },
    {
      "week": "2026-19",
      "n": 7
    },
    {
      "week": "2026-20",
      "n": 1
    }
  ],
  "_tags": [
    {
      "name": "0.1.0",
      "date": "2025-10-31"
    },
    {
      "name": "0.2.0",
      "date": "2025-12-04"
    },
    {
      "name": "0.2.1",
      "date": "2026-01-07"
    },
    {
      "name": "0.3.0",
      "date": "2026-02-17"
    },
    {
      "name": "0.3.1",
      "date": "2026-03-04"
    },
    {
      "name": "0.3.2",
      "date": "2026-03-30"
    },
    {
      "name": "0.3.3",
      "date": "2026-05-04"
    },
    {
      "name": "0.3.4",
      "date": "2026-05-09"
    }
  ],
  "_stars": 0,
  "_contributors": [
    {
      "user": "pedrobtz",
      "count": 121,
      "uuid": 2864346
    }
  ],
  "_userbio": {
    "uuid": 2864346,
    "type": "user",
    "name": "Pedro Z"
  },
  "_downloads": {
    "count": 366,
    "source": "https://cranlogs.r-pkg.org/downloads/total/last-month/azr"
  },
  "_devurl": "https://github.com/pedrobtz/azr",
  "_pkgdown": "https://pedrobtz.github.io/azr/",
  "_searchresults": 2,
  "_rbuild": "4.6.0",
  "_assets": [
    "extra/azr.html",
    "extra/citation.cff",
    "extra/citation.html",
    "extra/citation.json",
    "extra/citation.txt",
    "extra/contents.json",
    "extra/NEWS.html",
    "extra/NEWS.txt",
    "extra/readme.html",
    "extra/readme.md",
    "manual.pdf"
  ],
  "_homeurl": "https://github.com/pedrobtz/azr",
  "_realowner": "pedrobtz",
  "_cranurl": true,
  "_releases": [
    {
      "version": "0.1.0",
      "date": "2025-11-04"
    },
    {
      "version": "0.2.0",
      "date": "2025-12-11"
    },
    {
      "version": "0.2.1",
      "date": "2026-01-07"
    },
    {
      "version": "0.3.0",
      "date": "2026-02-17"
    },
    {
      "version": "0.3.1",
      "date": "2026-03-04"
    },
    {
      "version": "0.3.2",
      "date": "2026-03-30"
    },
    {
      "version": "0.3.3",
      "date": "2026-05-04"
    },
    {
      "version": "0.3.4",
      "date": "2026-05-09"
    }
  ],
  "_exports": [
    "api_client",
    "api_resource",
    "api_service",
    "api_storage_client",
    "AuthCodeCredential",
    "az_cli_account_show",
    "az_cli_get_cached_token",
    "az_cli_get_token",
    "az_cli_is_login",
    "az_cli_login",
    "az_cli_logout",
    "azr_graph_client",
    "azr_storage_client",
    "AzureCLICredential",
    "cached_token_credential_chain",
    "CachedTokenCredential",
    "ClientSecretCredential",
    "credential_chain",
    "default_azure_client_id",
    "default_azure_client_secret",
    "default_azure_config_dir",
    "default_azure_host",
    "default_azure_oauth_client",
    "default_azure_scope",
    "default_azure_tenant_id",
    "default_azure_url",
    "default_credential_chain",
    "default_federated_token_file",
    "default_msal_token_cache",
    "default_non_auth",
    "default_redirect_uri",
    "default_refresh_token",
    "default_response_handler",
    "default_storage_endpoint",
    "DefaultCredential",
    "DeviceCodeCredential",
    "get_credential_auth",
    "get_credential_provider",
    "get_request_authorizer",
    "get_token",
    "get_token_provider",
    "is_hosted_session",
    "RefreshTokenCredential",
    "WorkloadIdentityCredential",
    "write_msal_token"
  ],
  "_help": [
    {
      "page": "api_client",
      "title": "Azure API Client",
      "topics": [
        "api_client"
      ]
    },
    {
      "page": "api_resource",
      "title": "Azure API Resource",
      "topics": [
        "api_resource"
      ]
    },
    {
      "page": "api_service",
      "title": "API Service Base Class",
      "topics": [
        "api_service"
      ]
    },
    {
      "page": "api_storage_client",
      "title": "Azure Storage API Class",
      "topics": [
        "api_storage_client"
      ]
    },
    {
      "page": "AuthCodeCredential",
      "title": "Authorization code credential authentication",
      "topics": [
        "AuthCodeCredential"
      ]
    },
    {
      "page": "az_cli_account_show",
      "title": "Show Azure CLI Account Information",
      "topics": [
        "az_cli_account_show"
      ]
    },
    {
      "page": "az_cli_get_cached_token",
      "title": "Get Cached Token from MSAL Token Cache",
      "topics": [
        "az_cli_get_cached_token"
      ]
    },
    {
      "page": "az_cli_get_token",
      "title": "Get Access Token from Azure CLI",
      "topics": [
        "az_cli_get_token"
      ]
    },
    {
      "page": "az_cli_is_login",
      "title": "Check if User is Logged in to Azure CLI",
      "topics": [
        "az_cli_is_login"
      ]
    },
    {
      "page": "az_cli_login",
      "title": "Azure CLI Device Code Login",
      "topics": [
        "az_cli_login"
      ]
    },
    {
      "page": "az_cli_logout",
      "title": "Azure CLI Logout",
      "topics": [
        "az_cli_logout"
      ]
    },
    {
      "page": "azr_graph_client",
      "title": "Create a Microsoft Graph API Client",
      "topics": [
        "azr_graph_client"
      ]
    },
    {
      "page": "azr_storage_client",
      "title": "Create an Azure Storage Client",
      "topics": [
        "azr_storage_client"
      ]
    },
    {
      "page": "AzureCLICredential",
      "title": "Azure CLI credential authentication",
      "topics": [
        "AzureCLICredential"
      ]
    },
    {
      "page": "cached_token_credential_chain",
      "title": "Create Cached Token Credential Chain",
      "topics": [
        "cached_token_credential_chain"
      ]
    },
    {
      "page": "CachedTokenCredential",
      "title": "Cached token credential authentication",
      "topics": [
        "CachedTokenCredential"
      ]
    },
    {
      "page": "ClientSecretCredential",
      "title": "Client secret credential authentication",
      "topics": [
        "ClientSecretCredential"
      ]
    },
    {
      "page": "credential_chain",
      "title": "Create Custom Credential Chain",
      "topics": [
        "credential_chain"
      ]
    },
    {
      "page": "default_azure_client_id",
      "title": "Get default Azure client ID",
      "topics": [
        "default_azure_client_id"
      ]
    },
    {
      "page": "default_azure_client_secret",
      "title": "Get default Azure client secret",
      "topics": [
        "default_azure_client_secret"
      ]
    },
    {
      "page": "default_azure_config_dir",
      "title": "Get default Azure configuration directory",
      "topics": [
        "default_azure_config_dir"
      ]
    },
    {
      "page": "default_azure_host",
      "title": "Get default Azure authority host",
      "topics": [
        "default_azure_host"
      ]
    },
    {
      "page": "default_azure_oauth_client",
      "title": "Create default Azure OAuth client",
      "topics": [
        "default_azure_oauth_client"
      ]
    },
    {
      "page": "default_azure_scope",
      "title": "Get default Azure OAuth scope",
      "topics": [
        "default_azure_scope"
      ]
    },
    {
      "page": "default_azure_tenant_id",
      "title": "Get default Azure tenant ID",
      "topics": [
        "default_azure_tenant_id"
      ]
    },
    {
      "page": "default_azure_url",
      "title": "Get default Azure OAuth URLs",
      "topics": [
        "default_azure_url"
      ]
    },
    {
      "page": "default_credential_chain",
      "title": "Create Default Credential Chain",
      "topics": [
        "default_credential_chain"
      ]
    },
    {
      "page": "default_federated_token_file",
      "title": "Get default federated token file path",
      "topics": [
        "default_federated_token_file"
      ]
    },
    {
      "page": "default_msal_token_cache",
      "title": "Get default MSAL token cache path",
      "topics": [
        "default_msal_token_cache"
      ]
    },
    {
      "page": "default_non_auth",
      "title": "Default No Authentication",
      "topics": [
        "default_non_auth"
      ]
    },
    {
      "page": "default_redirect_uri",
      "title": "Get default OAuth redirect URI",
      "topics": [
        "default_redirect_uri"
      ]
    },
    {
      "page": "default_refresh_token",
      "title": "Get default Azure refresh token",
      "topics": [
        "default_refresh_token"
      ]
    },
    {
      "page": "default_response_handler",
      "title": "Default response handler",
      "topics": [
        "default_response_handler"
      ]
    },
    {
      "page": "default_storage_endpoint",
      "title": "Get default Azure Storage DFS endpoint suffix",
      "topics": [
        "default_storage_endpoint"
      ]
    },
    {
      "page": "DefaultCredential",
      "title": "Default credential authentication",
      "topics": [
        "DefaultCredential"
      ]
    },
    {
      "page": "DeviceCodeCredential",
      "title": "Device code credential authentication",
      "topics": [
        "DeviceCodeCredential"
      ]
    },
    {
      "page": "get_credential_auth",
      "title": "Get Credential Authentication Function",
      "topics": [
        "get_credential_auth"
      ]
    },
    {
      "page": "get_credential_provider",
      "title": "Get Credential Provider",
      "topics": [
        "get_credential_provider"
      ]
    },
    {
      "page": "get_request_authorizer",
      "title": "Get Default Request Authorizer Function",
      "topics": [
        "get_request_authorizer"
      ]
    },
    {
      "page": "get_token",
      "title": "Get Authentication Token",
      "topics": [
        "get_token"
      ]
    },
    {
      "page": "get_token_provider",
      "title": "Get Default Token Provider Function",
      "topics": [
        "get_token_provider"
      ]
    },
    {
      "page": "is_hosted_session",
      "title": "Detect if running in a hosted session",
      "topics": [
        "is_hosted_session"
      ]
    },
    {
      "page": "RefreshTokenCredential",
      "title": "Refresh token credential authentication",
      "topics": [
        "RefreshTokenCredential"
      ]
    },
    {
      "page": "WorkloadIdentityCredential",
      "title": "Workload Identity credential authentication",
      "topics": [
        "WorkloadIdentityCredential"
      ]
    },
    {
      "page": "write_msal_token",
      "title": "Write an httr2 Token to the MSAL Token Cache",
      "topics": [
        "write_msal_token"
      ]
    }
  ],
  "_pkglogo": "https://github.com/pedrobtz/azr/raw/HEAD/man/figures/logo.png",
  "_readme": "https://github.com/pedrobtz/azr/raw/HEAD/README.md",
  "_rundeps": [
    "askpass",
    "cli",
    "curl",
    "glue",
    "httr2",
    "jsonlite",
    "lifecycle",
    "magrittr",
    "openssl",
    "R6",
    "rappdirs",
    "rlang",
    "sys",
    "vctrs",
    "withr"
  ],
  "_score": 3.929418925714293,
  "_indexed": true,
  "_nocasepkg": "azr",
  "_universes": [
    "pedrobtz"
  ],
  "_binaries": [
    {
      "r": "4.7.0",
      "os": "linux",
      "version": "0.3.4",
      "date": "2026-05-14T12:30:37.000Z",
      "distro": "noble",
      "commit": "c4eea477153b076b6832125c2d8a6c06f556a2c4",
      "fileid": "9bf655bce185028f601662bd885e205e2fc6b59e2aadc10389f83e97a731dd41",
      "status": "success",
      "check": "OK",
      "buildurl": "https://github.com/r-universe/pedrobtz/actions/runs/25859896973"
    },
    {
      "r": "4.6.0",
      "os": "linux",
      "version": "0.3.4",
      "date": "2026-05-14T12:31:16.000Z",
      "distro": "noble",
      "commit": "c4eea477153b076b6832125c2d8a6c06f556a2c4",
      "fileid": "c298090dd923fc2a0f8dfa4094977f088b02e9b38aee06cc669be7d879e42c4a",
      "status": "success",
      "check": "OK",
      "buildurl": "https://github.com/r-universe/pedrobtz/actions/runs/25859896973"
    },
    {
      "r": "4.5.3",
      "os": "mac",
      "version": "0.3.4",
      "date": "2026-05-14T12:30:39.000Z",
      "commit": "c4eea477153b076b6832125c2d8a6c06f556a2c4",
      "fileid": "c423dcabadcddd745958b22a766442ef5ff03cb2f98ecc9ce4a593d5760613bf",
      "status": "success",
      "check": "OK",
      "buildurl": "https://github.com/r-universe/pedrobtz/actions/runs/25859896973"
    },
    {
      "r": "4.6.0",
      "os": "mac",
      "version": "0.3.4",
      "date": "2026-05-14T12:30:28.000Z",
      "commit": "c4eea477153b076b6832125c2d8a6c06f556a2c4",
      "fileid": "d20188381d0cf909c86afc1241384ddab7b69a9bd0ff8a3ba2550c8b88496fb4",
      "status": "success",
      "check": "OK",
      "buildurl": "https://github.com/r-universe/pedrobtz/actions/runs/25859896973"
    },
    {
      "r": "4.7.0",
      "os": "win",
      "version": "0.3.4",
      "date": "2026-05-14T12:30:10.000Z",
      "commit": "c4eea477153b076b6832125c2d8a6c06f556a2c4",
      "fileid": "93b291a467587061dd1a0528cf419798144cb59f123ddc9519db1d8a9e3cbb89",
      "status": "success",
      "check": "OK",
      "buildurl": "https://github.com/r-universe/pedrobtz/actions/runs/25859896973"
    },
    {
      "r": "4.5.3",
      "os": "win",
      "version": "0.3.4",
      "date": "2026-05-14T12:30:04.000Z",
      "commit": "c4eea477153b076b6832125c2d8a6c06f556a2c4",
      "fileid": "e3080b9ab55d71b7743733ad5a9327d984ecaea5737d520535cad3f5ad3ecc97",
      "status": "success",
      "check": "OK",
      "buildurl": "https://github.com/r-universe/pedrobtz/actions/runs/25859896973"
    },
    {
      "r": "4.6.0",
      "os": "win",
      "version": "0.3.4",
      "date": "2026-05-14T12:29:57.000Z",
      "commit": "c4eea477153b076b6832125c2d8a6c06f556a2c4",
      "fileid": "ec97173e779f66e0baa6f6771599200c4a2430b63f6c92fb7c154da97e9481ea",
      "status": "success",
      "check": "OK",
      "buildurl": "https://github.com/r-universe/pedrobtz/actions/runs/25859896973"
    },
    {
      "r": "4.6.0",
      "os": "wasm",
      "version": "0.3.4",
      "date": "2026-05-22T08:54:13.000Z",
      "commit": "c4eea477153b076b6832125c2d8a6c06f556a2c4",
      "fileid": "8b8454b4d5aac3790428c174e41df09b96fda5ebe71b30fd3594c165b71ee70f",
      "status": "success",
      "buildurl": "https://github.com/r-universe/pedrobtz/actions/runs/25859896973"
    }
  ]
}