Functions/Utilities/Get-CdsAuthTypes.ps1
<#
.SYNOPSIS Retrieve authentication type names. #> function Get-CdsAuthTypes { [CmdletBinding()] param ( ) begin { $StopWatch = [System.Diagnostics.Stopwatch]::StartNew(); Trace-CdsFunction -Name $MyInvocation.MyCommand.Name -Stage Start -Parameters ($MyInvocation.MyCommand.Parameters); } process { "Office365", "OAuth", "AD", "Ifd", "ClientSecret"; } end { $StopWatch.Stop(); Trace-CdsFunction -Name $MyInvocation.MyCommand.Name -Stage Stop -StopWatch $StopWatch; } } Export-ModuleMember -Function Get-CdsAuthTypes -Alias *; |