% Generated by roxygen2: do not edit by hand
% Please edit documentation in R/credential-cached-token.R
\name{cached_token_credential_chain}
\alias{cached_token_credential_chain}
\title{Create Cached Token Credential Chain}
\usage{
cached_token_credential_chain()
}
\value{
A \code{credential_chain} object containing the sequence of
credential providers to check for cached tokens.
}
\description{
Creates the default chain of credentials to attempt for cached token retrieval.
The credentials are tried in order until one returns a valid cached token.
The default chain includes:
\enumerate{
\item Authorization Code Credential - Cached tokens from browser-based authentication
\item Device Code Credential - Cached tokens from device code flow
\item Azure CLI Credential - Cached tokens from Azure CLI authentication
}
}
\seealso{
\link{CachedTokenCredential}, \code{\link[=credential_chain]{credential_chain()}}
}
