Invoke ADCUnsetAuthenticationoauthaction - j81blog/J81.ADCToolkit GitHub Wiki

Invoke-ADCUnsetAuthenticationoauthaction

SYNOPSIS

Unset Authentication configuration Object.

SYNTAX

Invoke-ADCUnsetAuthenticationoauthaction [[-Name] <String>] [[-oauthtype] <Boolean>]
 [[-idtokendecryptendpoint] <Boolean>] [[-defaultauthenticationgroup] <Boolean>] [[-attribute1] <Boolean>]
 [[-attribute2] <Boolean>] [[-attribute3] <Boolean>] [[-attribute4] <Boolean>] [[-attribute5] <Boolean>]
 [[-attribute6] <Boolean>] [[-attribute7] <Boolean>] [[-attribute8] <Boolean>] [[-attribute9] <Boolean>]
 [[-attribute10] <Boolean>] [[-attribute11] <Boolean>] [[-attribute12] <Boolean>] [[-attribute13] <Boolean>]
 [[-attribute14] <Boolean>] [[-attribute15] <Boolean>] [[-attribute16] <Boolean>] [[-attributes] <Boolean>]
 [[-graphendpoint] <Boolean>] [[-refreshinterval] <Boolean>] [[-certendpoint] <Boolean>]
 [[-audience] <Boolean>] [[-usernamefield] <Boolean>] [[-skewtime] <Boolean>] [[-issuer] <Boolean>]
 [[-userinfourl] <Boolean>] [[-certfilepath] <Boolean>] [[-authentication] <Boolean>]
 [[-introspecturl] <Boolean>] [[-allowedalgorithms] <Boolean>] [[-pkce] <Boolean>]
 [[-tokenendpointauthmethod] <Boolean>] [[-metadataurl] <Boolean>] [[-resourceuri] <Boolean>] [-WhatIf]
 [-Confirm] [<CommonParameters>]

DESCRIPTION

Configuration for OAuth authentication action resource.

EXAMPLES

EXAMPLE 1

Invoke-ADCUnsetAuthenticationoauthaction -name <string>

An example how to unset authenticationoauthaction configuration Object(s).

PARAMETERS

-Name

Name for the OAuth Authentication action. Must begin with a letter, number, or the underscore character (_), and must contain only letters, numbers, and the hyphen (-), period (.) pound (#), space ( ), at (@), equals (=), colon (:), and underscore characters. Cannot be changed after the profile is created.

Type: String
Parameter Sets: (All)
Aliases:

Required: False
Position: 2
Default value: None
Accept pipeline input: False
Accept wildcard characters: False

-oauthtype

Type of the OAuth implementation. Default value is generic implementation that is applicable for most deployments. Possible values = GENERIC, INTUNE, ATHENA

Type: Boolean
Parameter Sets: (All)
Aliases:

Required: False
Position: 3
Default value: False
Accept pipeline input: False
Accept wildcard characters: False

-idtokendecryptendpoint

URL to which obtained idtoken will be posted to get a decrypted user identity. Encrypted idtoken will be obtained by posting OAuth token to token endpoint. In order to decrypt idtoken, Citrix ADC posts request to the URL configured.

Type: Boolean
Parameter Sets: (All)
Aliases:

Required: False
Position: 4
Default value: False
Accept pipeline input: False
Accept wildcard characters: False

-defaultauthenticationgroup

This is the default group that is chosen when the authentication succeeds in addition to extracted groups.

Type: Boolean
Parameter Sets: (All)
Aliases:

Required: False
Position: 5
Default value: False
Accept pipeline input: False
Accept wildcard characters: False

-attribute1

Name of the attribute to be extracted from OAuth Token and to be stored in the attribute1.

Type: Boolean
Parameter Sets: (All)
Aliases:

Required: False
Position: 6
Default value: False
Accept pipeline input: False
Accept wildcard characters: False

-attribute2

Name of the attribute to be extracted from OAuth Token and to be stored in the attribute2.

Type: Boolean
Parameter Sets: (All)
Aliases:

Required: False
Position: 7
Default value: False
Accept pipeline input: False
Accept wildcard characters: False

-attribute3

Name of the attribute to be extracted from OAuth Token and to be stored in the attribute3.

Type: Boolean
Parameter Sets: (All)
Aliases:

Required: False
Position: 8
Default value: False
Accept pipeline input: False
Accept wildcard characters: False

-attribute4

Name of the attribute to be extracted from OAuth Token and to be stored in the attribute4.

Type: Boolean
Parameter Sets: (All)
Aliases:

Required: False
Position: 9
Default value: False
Accept pipeline input: False
Accept wildcard characters: False

-attribute5

Name of the attribute to be extracted from OAuth Token and to be stored in the attribute5.

Type: Boolean
Parameter Sets: (All)
Aliases:

Required: False
Position: 10
Default value: False
Accept pipeline input: False
Accept wildcard characters: False

-attribute6

Name of the attribute to be extracted from OAuth Token and to be stored in the attribute6.

Type: Boolean
Parameter Sets: (All)
Aliases:

Required: False
Position: 11
Default value: False
Accept pipeline input: False
Accept wildcard characters: False

-attribute7

Name of the attribute to be extracted from OAuth Token and to be stored in the attribute7.

Type: Boolean
Parameter Sets: (All)
Aliases:

Required: False
Position: 12
Default value: False
Accept pipeline input: False
Accept wildcard characters: False

-attribute8

Name of the attribute to be extracted from OAuth Token and to be stored in the attribute8.

Type: Boolean
Parameter Sets: (All)
Aliases:

Required: False
Position: 13
Default value: False
Accept pipeline input: False
Accept wildcard characters: False

-attribute9

Name of the attribute to be extracted from OAuth Token and to be stored in the attribute9.

Type: Boolean
Parameter Sets: (All)
Aliases:

Required: False
Position: 14
Default value: False
Accept pipeline input: False
Accept wildcard characters: False

-attribute10

Name of the attribute to be extracted from OAuth Token and to be stored in the attribute10.

Type: Boolean
Parameter Sets: (All)
Aliases:

Required: False
Position: 15
Default value: False
Accept pipeline input: False
Accept wildcard characters: False

-attribute11

Name of the attribute to be extracted from OAuth Token and to be stored in the attribute11.

Type: Boolean
Parameter Sets: (All)
Aliases:

Required: False
Position: 16
Default value: False
Accept pipeline input: False
Accept wildcard characters: False

-attribute12

Name of the attribute to be extracted from OAuth Token and to be stored in the attribute12.

Type: Boolean
Parameter Sets: (All)
Aliases:

Required: False
Position: 17
Default value: False
Accept pipeline input: False
Accept wildcard characters: False

-attribute13

Name of the attribute to be extracted from OAuth Token and to be stored in the attribute13.

Type: Boolean
Parameter Sets: (All)
Aliases:

Required: False
Position: 18
Default value: False
Accept pipeline input: False
Accept wildcard characters: False

-attribute14

Name of the attribute to be extracted from OAuth Token and to be stored in the attribute14.

Type: Boolean
Parameter Sets: (All)
Aliases:

Required: False
Position: 19
Default value: False
Accept pipeline input: False
Accept wildcard characters: False

-attribute15

Name of the attribute to be extracted from OAuth Token and to be stored in the attribute15.

Type: Boolean
Parameter Sets: (All)
Aliases:

Required: False
Position: 20
Default value: False
Accept pipeline input: False
Accept wildcard characters: False

-attribute16

Name of the attribute to be extracted from OAuth Token and to be stored in the attribute16.

Type: Boolean
Parameter Sets: (All)
Aliases:

Required: False
Position: 21
Default value: False
Accept pipeline input: False
Accept wildcard characters: False

-attributes

List of attribute names separated by ',' which needs to be extracted. Note that preceding and trailing spaces will be removed. Attribute name can be 127 bytes and total length of this string should not cross 1023 bytes. These attributes have multi-value support separated by ',' and stored as key-value pair in AAA session.

Type: Boolean
Parameter Sets: (All)
Aliases:

Required: False
Position: 22
Default value: False
Accept pipeline input: False
Accept wildcard characters: False

-graphendpoint

URL of the Graph API service to learn Enterprise Mobility Services (EMS) endpoints.

Type: Boolean
Parameter Sets: (All)
Aliases:

Required: False
Position: 23
Default value: False
Accept pipeline input: False
Accept wildcard characters: False

-refreshinterval

Interval at which services are monitored for necessary configuration.

Type: Boolean
Parameter Sets: (All)
Aliases:

Required: False
Position: 24
Default value: False
Accept pipeline input: False
Accept wildcard characters: False

-certendpoint

URL of the endpoint that contains JWKs (Json Web Key) for JWT (Json Web Token) verification.

Type: Boolean
Parameter Sets: (All)
Aliases:

Required: False
Position: 25
Default value: False
Accept pipeline input: False
Accept wildcard characters: False

-audience

Audience for which token sent by Authorization server is applicable. This is typically entity name or url that represents the recipient.

Type: Boolean
Parameter Sets: (All)
Aliases:

Required: False
Position: 26
Default value: False
Accept pipeline input: False
Accept wildcard characters: False

-usernamefield

Attribute in the token from which username should be extracted.

Type: Boolean
Parameter Sets: (All)
Aliases:

Required: False
Position: 27
Default value: False
Accept pipeline input: False
Accept wildcard characters: False

-skewtime

This option specifies the allowed clock skew in number of minutes that Citrix ADC allows on an incoming token. For example, if skewTime is 10, then token would be valid from (current time - 10) min to (current time + 10) min, ie 20min in all.

Type: Boolean
Parameter Sets: (All)
Aliases:

Required: False
Position: 28
Default value: False
Accept pipeline input: False
Accept wildcard characters: False

-issuer

Identity of the server whose tokens are to be accepted.

Type: Boolean
Parameter Sets: (All)
Aliases:

Required: False
Position: 29
Default value: False
Accept pipeline input: False
Accept wildcard characters: False

-userinfourl

URL to which OAuth access token will be posted to obtain user information.

Type: Boolean
Parameter Sets: (All)
Aliases:

Required: False
Position: 30
Default value: False
Accept pipeline input: False
Accept wildcard characters: False

-certfilepath

Path to the file that contains JWKs (Json Web Key) for JWT (Json Web Token) verification.

Type: Boolean
Parameter Sets: (All)
Aliases:

Required: False
Position: 31
Default value: False
Accept pipeline input: False
Accept wildcard characters: False

-authentication

If authentication is disabled, password is not sent in the request. . Possible values = ENABLED, DISABLED

Type: Boolean
Parameter Sets: (All)
Aliases:

Required: False
Position: 32
Default value: False
Accept pipeline input: False
Accept wildcard characters: False

-introspecturl

URL to which access token would be posted for validation.

Type: Boolean
Parameter Sets: (All)
Aliases:

Required: False
Position: 33
Default value: False
Accept pipeline input: False
Accept wildcard characters: False

-allowedalgorithms

Multivalued option to specify allowed token verification algorithms. . Possible values = HS256, RS256, RS512

Type: Boolean
Parameter Sets: (All)
Aliases:

Required: False
Position: 34
Default value: False
Accept pipeline input: False
Accept wildcard characters: False

-pkce

Option to enable/disable PKCE flow during authentication. . Possible values = ENABLED, DISABLED

Type: Boolean
Parameter Sets: (All)
Aliases:

Required: False
Position: 35
Default value: False
Accept pipeline input: False
Accept wildcard characters: False

-tokenendpointauthmethod

Option to select the variant of token authentication method. This method is used while exchanging code with IdP. . Possible values = client_secret_post, client_secret_jwt, private_key_jwt

Type: Boolean
Parameter Sets: (All)
Aliases:

Required: False
Position: 36
Default value: False
Accept pipeline input: False
Accept wildcard characters: False

-metadataurl

Well-known configuration endpoint of the Authorization Server. Citrix ADC fetches server details from this endpoint. .

Type: Boolean
Parameter Sets: (All)
Aliases:

Required: False
Position: 37
Default value: False
Accept pipeline input: False
Accept wildcard characters: False

-resourceuri

Resource URL for Oauth configuration.

Type: Boolean
Parameter Sets: (All)
Aliases:

Required: False
Position: 38
Default value: False
Accept pipeline input: False
Accept wildcard characters: False

-WhatIf

Shows what would happen if the cmdlet runs. The cmdlet is not run.

Type: SwitchParameter
Parameter Sets: (All)
Aliases: wi

Required: False
Position: Named
Default value: None
Accept pipeline input: False
Accept wildcard characters: False

-Confirm

Prompts you for confirmation before running the cmdlet.

Type: SwitchParameter
Parameter Sets: (All)
Aliases: cf

Required: False
Position: Named
Default value: None
Accept pipeline input: False
Accept wildcard characters: False

CommonParameters

This cmdlet supports the common parameters: -Debug, -ErrorAction, -ErrorVariable, -InformationAction, -InformationVariable, -OutVariable, -OutBuffer, -PipelineVariable, -Verbose, -WarningAction, and -WarningVariable. For more information, see about_CommonParameters.

INPUTS

OUTPUTS

NOTES

File Name : Invoke-ADCUnsetAuthenticationoauthaction Version : v2111.2521 Author : John Billekens Reference : https://developer-docs.citrix.com/projects/citrix-adc-nitro-api-reference/en/latest/configuration/authentication/authenticationoauthaction Requires : PowerShell v5.1 and up ADC 13.x and up. ADC 12 and lower may work, not guaranteed.

RELATED LINKS

https://blog.j81.nl

⚠️ **GitHub.com Fallback** ⚠️