Skip To Content
PowerShell Gallery
Toggle navigation
Packages
Publish
Documentation
Sign in
Search PowerShell packages:
OktaPosh
0.4.1
private/normalizeClaimType.ps1
function
normalizeClaimType
(
$ClaimType
)
{
if
(
$ClaimType
-eq
"ACCESS_TOKEN"
)
{
return
"RESOURCE"
}
elseif
(
$ClaimType
-eq
"ID_TOKEN"
)
{
return
"IDENTITY"
}
else
{
return
$ClaimType
}
}