Set-DssClient
SYNOPSIS
SYNTAX
ObjectNameOrIdParamSet
Set-DssClient -ClientId <String> [-Name <String>] [-Description <String>] [-AllowedFlow <Flows[]>]
[-RedirectUri <String[]>] [-AuthorizationCodeLifetime <Int32>] [-AccessTokenLifetime <Int32>]
[-IdentityTokenLifetime <Int32>] [-RefreshTokenLifetime <Int32>] [-GenerateSecret] [-Type <ClientType>]
[-ExtendedProperties <Hashtable>] [-SecretLifetime <Int32>] [-SuppressAuthForIssue <Boolean>] [-PassThru]
[-AllowedScopes <String[]>] [-RequiredScopes <String[]>] [-ConsentLifetime <Int32>]
[-RequireConsent <Boolean>] [-WhatIf] [-Confirm] [-DisplayName <String>] [<CommonParameters>]
InputObjectParamSet
Set-DssClient -TargetClient <Client> [-Name <String>] [-Description <String>] [-AllowedFlow <Flows[]>]
[-RedirectUri <String[]>] [-AuthorizationCodeLifetime <Int32>] [-AccessTokenLifetime <Int32>]
[-IdentityTokenLifetime <Int32>] [-RefreshTokenLifetime <Int32>] [-GenerateSecret] [-Type <ClientType>]
[-ExtendedProperties <Hashtable>] [-SecretLifetime <Int32>] [-SuppressAuthForIssue <Boolean>] [-PassThru]
[-AllowedScopes <String[]>] [-RequiredScopes <String[]>] [-ConsentLifetime <Int32>]
[-RequireConsent <Boolean>] [-WhatIf] [-Confirm] [-DisplayName <String>] [<CommonParameters>]
DESCRIPTION
{{ Fill in the Description }}
EXAMPLES
Example 1
PS C:\> {{ Add example code here }}
{{ Add example description here }}
PARAMETERS
-ClientId
Идентификатор клиента
Type: String
Parameter Sets: ObjectNameOrIdParamSet
Aliases:
Required: True
Position: Named
Default value: None
Accept pipeline input: True (ByPropertyName)
Accept wildcard characters: False
-TargetClient
Oauth клиент
Type: Client
Parameter Sets: InputObjectParamSet
Aliases:
Required: True
Position: Named
Default value: None
Accept pipeline input: True (ByValue)
Accept wildcard characters: False
-Name
Понятное имя клиента
Type: String
Parameter Sets: (All)
Aliases:
Required: False
Position: Named
Default value: None
Accept pipeline input: False
Accept wildcard characters: False
-Description
Описание клиента
Type: String
Parameter Sets: (All)
Aliases:
Required: False
Position: Named
Default value: None
Accept pipeline input: False
Accept wildcard characters: False
-AllowedFlow
Possible values: AuthorizationCode, Implicit, Hybrid, ClientCredentials, ResourceOwner, Custom, AuthorizationCodeWithProofKey, HybridWithProofKey, TokenExchange, MyDssAssertion, RefreshToken
Type: Flows[]
Parameter Sets: (All)
Aliases:
Accepted values: AuthorizationCode, Implicit, Hybrid, ClientCredentials, ResourceOwner, Custom, AuthorizationCodeWithProofKey, HybridWithProofKey, TokenExchange, MyDssAssertion, RefreshToken
Required: False
Position: Named
Default value: None
Accept pipeline input: False
Accept wildcard characters: False
-RedirectUri
Адреса перенаправления
Type: String[]
Parameter Sets: (All)
Aliases:
Required: False
Position: Named
Default value: None
Accept pipeline input: False
Accept wildcard characters: False
-AuthorizationCodeLifetime
Время жизни кода авторизации в секундах
Type: Int32
Parameter Sets: (All)
Aliases:
Required: False
Position: Named
Default value: None
Accept pipeline input: False
Accept wildcard characters: False
-AccessTokenLifetime
Время жизни маркера доступа в секундах
Type: Int32
Parameter Sets: (All)
Aliases:
Required: False
Position: Named
Default value: None
Accept pipeline input: False
Accept wildcard characters: False
-IdentityTokenLifetime
Время жизни маркера учётных данных в секундах
Type: Int32
Parameter Sets: (All)
Aliases:
Required: False
Position: Named
Default value: None
Accept pipeline input: False
Accept wildcard characters: False
-RefreshTokenLifetime
Время жизни маркера обновления в секундах
Type: Int32
Parameter Sets: (All)
Aliases:
Required: False
Position: Named
Default value: None
Accept pipeline input: False
Accept wildcard characters: False
-GenerateSecret
Создать аутентификационные данные
Type: SwitchParameter
Parameter Sets: (All)
Aliases:
Required: False
Position: Named
Default value: False
Accept pipeline input: False
Accept wildcard characters: False
-Type
Possible values: Confidential, Public, Unregistered
Type: ClientType
Parameter Sets: (All)
Aliases:
Accepted values: Confidential, Public, Unregistered
Required: False
Position: Named
Default value: None
Accept pipeline input: False
Accept wildcard characters: False
-ExtendedProperties
Расширенные свойства клиента.
Type: Hashtable
Parameter Sets: (All)
Aliases:
Required: False
Position: Named
Default value: None
Accept pipeline input: False
Accept wildcard characters: False
-SecretLifetime
Срок действия секрета в часах
Type: Int32
Parameter Sets: (All)
Aliases:
Required: False
Position: Named
Default value: None
Accept pipeline input: False
Accept wildcard characters: False
-SuppressAuthForIssue
Подавлять ли проверки аутентификации для клиента
Type: Boolean
Parameter Sets: (All)
Aliases:
Required: False
Position: Named
Default value: None
Accept pipeline input: False
Accept wildcard characters: False
-PassThru
Флаг, показывающий следует ли передавать обект дальше по конвейеру
Type: SwitchParameter
Parameter Sets: (All)
Aliases:
Required: False
Position: Named
Default value: False
Accept pipeline input: False
Accept wildcard characters: False
-AllowedScopes
Допустимые области использования
Type: String[]
Parameter Sets: (All)
Aliases:
Required: False
Position: Named
Default value: None
Accept pipeline input: False
Accept wildcard characters: False
-RequiredScopes
Обязательные области использования
Type: String[]
Parameter Sets: (All)
Aliases:
Required: False
Position: Named
Default value: None
Accept pipeline input: False
Accept wildcard characters: False
-ConsentLifetime
Время хранения запомненного подтверждения
Type: Int32
Parameter Sets: (All)
Aliases:
Required: False
Position: Named
Default value: None
Accept pipeline input: False
Accept wildcard characters: False
-RequireConsent
Требуется ли разрешение пользователя на предоставление клиенту права на использование запрошенных областей использования
Type: Boolean
Parameter Sets: (All)
Aliases:
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
-DisplayName
Имя экземпляра службы
Type: String
Parameter Sets: (All)
Aliases:
Required: False
Position: Named
Default value: None
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
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.