def METHOD_NAME(authsid: Optional[str] = None,
                                      resource_group_name: Optional[str] = None,
                                      service_name: Optional[str] = None,
                                      opts: Optional[pulumi.InvokeOptions] = None) -> AwaitableListAuthorizationServerSecretsResult:
    """
    Gets the client secret details of the authorization server.
    :param str authsid: Identifier of the authorization server.
    :param str resource_group_name: The name of the resource group. The name is case insensitive.
    :param str service_name: The name of the API Management service.
    """
    __args__ = dict()
    __args__['authsid'] = authsid
    __args__['resourceGroupName'] = resource_group_name
    __args__['serviceName'] = service_name
    opts = pulumi.InvokeOptions.merge(_utilities.get_invoke_opts_defaults(), opts)
    __ret__ = pulumi.runtime.invoke('azure-native:apimanagement/v20220901preview:listAuthorizationServerSecrets', __args__, opts=opts, typ=ListAuthorizationServerSecretsResult).value
    return AwaitableListAuthorizationServerSecretsResult(
        client_secret=pulumi.get(__ret__, 'client_secret'),
        resource_owner_password=pulumi.get(__ret__, 'resource_owner_password'),
        resource_owner_username=pulumi.get(__ret__, 'resource_owner_username'))